X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fmrp%2Fprocurement.py;fp=addons%2Fmrp%2Fprocurement.py;h=58727d9c16014a8865127ea717436f99c9e34be0;hb=c15f748be05b3709f5e16680569abdc2949468e2;hp=0c17cd1cc76a5980cae8b098a81c79ec0a386a49;hpb=1dbf153eb51303c4186ca5e2dacd729aadd95f28;p=odoo%2Fodoo.git diff --git a/addons/mrp/procurement.py b/addons/mrp/procurement.py index 0c17cd1..58727d9 100644 --- a/addons/mrp/procurement.py +++ b/addons/mrp/procurement.py @@ -111,7 +111,6 @@ class procurement_order(osv.osv): res[procurement.id] = produce_id self.write(cr, uid, [procurement.id], {'production_id': produce_id}) - procurement.refresh() self.production_order_create_note(cr, uid, procurement, context=context) production_obj.action_compute(cr, uid, [produce_id], properties=[x.id for x in procurement.property_ids]) production_obj.signal_workflow(cr, uid, [produce_id], 'button_confirm')