[MERGE] forward port of branch 8.0 up to 2e092ac
[odoo/odoo.git] / addons / procurement / procurement.py
index 12e731e..ee7c502 100644 (file)
@@ -203,7 +203,6 @@ class procurement_order(osv.osv):
             if procurement.state not in ("running", "done"):
                 try:
                     if self._assign(cr, uid, procurement, context=context):
-                        procurement.refresh()
                         res = self._run(cr, uid, procurement, context=context or {})
                         if res:
                             self.write(cr, uid, [procurement.id], {'state': 'running'}, context=context)