Review: Needs Fixing
we already have a variable prod_id = move.product_id.id, so use that instead of
using move.product_id.id all the time
location_obj._product_get(cr, uid, location, [move.product_id.id], {'uom': uom})
^
the dictionary you passed is context, Don't directly pass a new dictionary,
either update the context or copy it and use it,
Also, don't forget to pass context properly
(also, make some testing with prodlot to, Omar have put a good point on the bug)
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-797772-aag/+merge/64959
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-797772-aag.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp