Merge pull request #13 from xtuple/master

Catch up.
issue #19494: Fix cutomer so related CRM documents work.
Merge pull request #47 from jrogelstad/19494

issue #19458: Fix customer's crm related documents so they work.