From 630580df7f9e9e8d82799fd138fb2ecb49a77a2c Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Mon, 7 Jul 2014 13:12:37 +0200 Subject: [PATCH] [FIX] signal_XXX -> signal_workflow: forgot quotes around signal name --- addons/mrp/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp/stock.py b/addons/mrp/stock.py index 236fec019dd..2718b77d051 100644 --- a/addons/mrp/stock.py +++ b/addons/mrp/stock.py @@ -159,7 +159,7 @@ class StockMove(osv.osv): 'consumed_for': consumed_for}, context=context) self.action_done(cr, uid, res, context=context) production_ids = production_obj.search(cr, uid, [('move_lines', 'in', [move.id])]) - production_obj.signal_workflow(cr, uid, production_ids, button_produce) + production_obj.signal_workflow(cr, uid, production_ids, 'button_produce') for new_move in res: if new_move != move.id: #This move is not already there in move lines of production order