Commit 6b7e8a8c authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use accounting_workflow instead of sale_invoice_transaction_workflow


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2586f5cc
......@@ -143,5 +143,5 @@ An order..."""
Returns the current state in simulation
"""
portal_workflow = getToolByName(self, 'portal_workflow')
wf = portal_workflow.getWorkflowById('sale_invoice_transaction_workflow')
wf = portal_workflow.getWorkflowById('accounting_workflow')
return wf._getWorkflowStateOf(self, id_only=id_only )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment