[FIX] purchase: use the correct variable, finally
bzr revid: mat@openerp.com-20131004155600-vqasj1w07uhnvdmy
This commit is contained in:
@@ -1049,7 +1049,7 @@ class procurement_order(osv.osv):
|
||||
#temporary context passed in write to prevent an infinite loop
|
||||
ctx_wkf = dict(context or {})
|
||||
ctx_wkf['workflow.trg_write.%s' % self._name] = False
|
||||
self.write(cr, uid, [procurement.id], {'message':message}, context=context)
|
||||
self.write(cr, uid, [procurement.id], {'message':message}, context=ctx_wkf)
|
||||
return False
|
||||
|
||||
if user.company_id and user.company_id.partner_id:
|
||||
|
||||
Reference in New Issue
Block a user