[IMP] stock_location: call running_send_note

bzr revid: tpa@tinyerp.com-20120503051447-2tkh9vn0twnz8ndk
This commit is contained in:
Turkesh Patel (Open ERP)
2012-05-03 10:44:47 +05:30
parent 2cb6766413
commit cffb60c519
@@ -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)