From cffb60c519a4e009fef205272b5be26d9f668ffa Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Thu, 3 May 2012 10:44:47 +0530 Subject: [PATCH] [IMP] stock_location: call running_send_note bzr revid: tpa@tinyerp.com-20120503051447-2tkh9vn0twnz8ndk --- addons/stock_location/procurement_pull.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock_location/procurement_pull.py b/addons/stock_location/procurement_pull.py index 33168a53e20..97ccb3eb38a 100644 --- a/addons/stock_location/procurement_pull.py +++ b/addons/stock_location/procurement_pull.py @@ -116,6 +116,7 @@ class procurement_order(osv.osv): move_obj.write(cr, uid, [proc.move_id.id], {'location_id':proc.location_id.id}) self.write(cr, uid, [proc.id], {'state':'running', 'message':_('Pulled from another location via procurement %d')%proc_id}) + self.running_send_note(cr, uid, ids, context=None) # trigger direct processing (the new procurement shares the same planned date as the original one, which is already being processed) wf_service.trg_validate(uid, 'procurement.order', proc_id, 'button_check', cr)