[FIX] write product_qty and product_uos_qty through ORM, thereby respecting decimal precision

Porting failed merge from lp@gh migration: http://bazaar.launchpad.net/~ocb/ocb-addons/7.0/revision/9959
fixes https://launchpad.net/bugs/1268594