[FIX] nan_prodlot_quality_control: call to set_test_template with context as force_fill param
This commit is contained in:
parent
8a9d34c20e
commit
66a568a361
2
stock.py
2
stock.py
|
@ -245,7 +245,7 @@ class stock_production_lot(osv.osv):
|
|||
test_id = qc_test_proxy.create(cr, uid, test_vals, context)
|
||||
|
||||
qc_test_proxy.set_test_template(cr, uid, [test_id],
|
||||
template_trigger.template_id.id, context)
|
||||
template_trigger.template_id.id, context=context)
|
||||
|
||||
test_trigger_vals.append((0, 0, {
|
||||
'sequence': template_trigger.sequence,
|
||||
|
|
Loading…
Reference in New Issue