reverted breaking orm change

Julian's intuition was right: this is the commit that broke it:
https://github.com/xtuple/xtuple/commit/c7c13207067e5829ef66e945ca1052ebff66f926

The commit is 15 days old, but not on 1.4.0, so when we've seen it work through this week it must have been on Pandora. Or maybe it's just recently been pulled into master.

I undid changes to the two relevant files and the customer->quote box is working again. I can't speak to what it's done to Julian's original intent.