diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-04-10 18:35:34 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-04-10 18:35:34 +0200 |
| commit | 8ac8281a7f5591c0b57c78e1ff85bac52ea67d1f (patch) | |
| tree | cb73dc665b0790187c36ec0ef20c568fe9262396 /addons/mrp_operations/mrp_operations.py | |
| parent | 8d750ecdc8bd61d80cc26cc2ad6b4f13aeb3389d (diff) | |
| parent | d3e7a8ef5e825ff7b4c0f936345bb01961bd93d5 (diff) | |
[MERGE] forward port of branch saas-3 up to d3e7a8e
Diffstat (limited to 'addons/mrp_operations/mrp_operations.py')
| -rw-r--r-- | addons/mrp_operations/mrp_operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mrp_operations/mrp_operations.py b/addons/mrp_operations/mrp_operations.py index b41dc63c517..3c3e2c92268 100644 --- a/addons/mrp_operations/mrp_operations.py +++ b/addons/mrp_operations/mrp_operations.py @@ -219,7 +219,7 @@ class mrp_production(osv.osv): workcenter_line.signal_workflow('button_done') return super(mrp_production,self).action_production_end(cr, uid, ids, context=context) - def action_in_production(self, cr, uid, ids): + def action_in_production(self, cr, uid, ids, context=None): """ Changes state to In Production and writes starting date. @return: True """ @@ -227,7 +227,7 @@ class mrp_production(osv.osv): for prod in self.browse(cr, uid, ids): if prod.workcenter_lines: workcenter_pool.signal_workflow(cr, uid, [prod.workcenter_lines[0].id], 'button_start_working') - return super(mrp_production,self).action_in_production(cr, uid, ids) + return super(mrp_production,self).action_in_production(cr, uid, ids, context=context) def action_cancel(self, cr, uid, ids, context=None): """ Cancels work order if production order is canceled. |
