Rohan Nayani(Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-844855-ron into
lp:openobject-addons.
Requested reviews:
Rucha (Open ERP) (rpa-openerp)
Related bugs:
Bug #844855 in OpenERP Addons: "Procurement scheduler crash if Reservation is
unlinked with record"
https://bugs.launchpad.net/openobject-addons/+bug/844855
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-844855-ron/+merge/74969
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-844855-ron/+merge/74969
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-844855-ron.
=== modified file 'mrp/procurement.py'
--- mrp/procurement.py 2011-04-29 08:49:48 +0000
+++ mrp/procurement.py 2011-09-12 11:11:25 +0000
@@ -100,8 +100,8 @@
bom_result = production_obj.action_compute(cr, uid,
[produce_id], properties=[x.id for x in procurement.property_ids])
wf_service.trg_validate(uid, 'mrp.production', produce_id, 'button_confirm', cr)
- move_obj.write(cr, uid, [res_id],
- {'location_id': procurement.location_id.id})
+ if res_id:
+ move_obj.write(cr, uid, [res_id], {'location_id': procurement.location_id.id})
return res
procurement_order()
_______________________________________________
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