diff --git a/product/ERP5/Document/Invoice.py b/product/ERP5/Document/Invoice.py
index 29d43adcfc51ec36837e2df3b17851474ec661ea..6d295fee49f5745e276c6dd8060aa7555ab4a804 100755
--- a/product/ERP5/Document/Invoice.py
+++ b/product/ERP5/Document/Invoice.py
@@ -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 )