[Fix] sale:[question/119827] Fix the problem Workflow problem : the order stays in pending state
bzr revid: sbh@tinyerp.com-20100813061054-5zwl7a11gbxyohun
This commit is contained in:
@@ -703,6 +703,7 @@ class sale_order(osv.osv):
|
||||
for proc_id in proc_ids:
|
||||
wf_service = netsvc.LocalService("workflow")
|
||||
wf_service.trg_validate(uid, 'procurement.order', proc_id, 'button_confirm', cr)
|
||||
wf_service.trg_validate(uid, 'procurement.order', proc_id, 'button_check', cr)
|
||||
|
||||
if order.state == 'shipping_except':
|
||||
val['state'] = 'progress'
|
||||
|
||||
Reference in New Issue
Block a user