[FIX] procurement_jit_stock: context are frozen.
This commit is contained in:
parent
43b3b28708
commit
890174b976
|
@ -26,8 +26,7 @@ class procurement_order(osv.osv):
|
|||
_inherit = "procurement.order"
|
||||
|
||||
def run(self, cr, uid, ids, context=None):
|
||||
context = context or {}
|
||||
context['procurement_autorun_defer'] = True
|
||||
context = dict(context or {}, procurement_autorun_defer=True)
|
||||
res = super(procurement_order, self).run(cr, uid, ids, context=context)
|
||||
|
||||
procurement_ids = self.search(cr, uid, [('move_dest_id.procurement_id', 'in', ids)], order='id', context=context)
|
||||
|
|
Loading…
Reference in New Issue