summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-05-03 10:44:47 +0530
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-05-03 10:44:47 +0530
commitcffb60c519a4e009fef205272b5be26d9f668ffa (patch)
treeb577a1b2d3344cbf165f32d9e6596602b0d6f79c
parent2cb67664139aca38013279d58ff685c1c77a7587 (diff)
[IMP] stock_location: call running_send_note
bzr revid: tpa@tinyerp.com-20120503051447-2tkh9vn0twnz8ndk
-rw-r--r--addons/stock_location/procurement_pull.py1
1 files changed, 1 insertions, 0 deletions
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)