openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #03301
Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-722961-ksa into lp:openobject-addons
you can calc qty like as done in parent method on stock module:
qty = product_uom_obj._compute_qty(cr, uid, move.product_uom.id, move.product_qty, default_uom)
dont put directly the quantity in calculation.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-722961-ksa/+merge/50739
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-722961-ksa.
References