diff options
| author | Raphael Collet <rco@openerp.com> | 2014-07-07 11:50:30 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2014-07-07 11:50:30 +0200 |
| commit | 33eb3dffb2bd3ac9d886a17c3c67ea83e65dcaa1 (patch) | |
| tree | 9bb298a8c7193fa7ad7ef637655fd824a28d165d /addons/mrp/procurement.py | |
| parent | cbe2dbb672a6c55d86f2e515f9d1cdfee426ef80 (diff) | |
[REM] models: remove the magic methods signal_XXX()
Diffstat (limited to 'addons/mrp/procurement.py')
| -rw-r--r-- | addons/mrp/procurement.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/procurement.py b/addons/mrp/procurement.py index 50650b7b371..06eacc6a1a2 100644 --- a/addons/mrp/procurement.py +++ b/addons/mrp/procurement.py @@ -114,7 +114,7 @@ class procurement_order(osv.osv): procurement.refresh() self.production_order_create_note(cr, uid, procurement, context=context) production_obj.action_compute(cr, uid, [produce_id], properties=[x.id for x in procurement.property_ids]) - production_obj.signal_button_confirm(cr, uid, [produce_id]) + production_obj.signal_workflow(cr, uid, [produce_id], 'button_confirm') else: res[procurement.id] = False self.message_post(cr, uid, [procurement.id], body=_("No BoM exists for this product!"), context=context) |
