diff --git a/product/ERP5/Document/AccountingTransaction.py b/product/ERP5/Document/AccountingTransaction.py
index 7fd0d6f503ed4e2b67fa9953792b7704b112bc67..7de109583a0823a21012c65273805c4762da3770 100755
--- a/product/ERP5/Document/AccountingTransaction.py
+++ b/product/ERP5/Document/AccountingTransaction.py
@@ -118,12 +118,3 @@ An order..."""
           }
         )
       }
-
-    security.declareProtected(Permissions.AccessContentsInformation, 'getSimulationState')
-    def getSimulationState(self, id_only=1):
-      """
-        Returns the current state in simulation
-      """
-      portal_workflow = getToolByName(self, 'portal_workflow')
-      wf = portal_workflow.getWorkflowById('accounting_workflow')
-      return wf._getWorkflowStateOf(self, id_only=id_only )
diff --git a/product/ERP5/Document/DeliveryLine.py b/product/ERP5/Document/DeliveryLine.py
index f5f1ae0930a66122497606eacb6d5c0357849bd5..2e6edd6b929b877bbf13e5b9021e65e44ffe2c4f 100755
--- a/product/ERP5/Document/DeliveryLine.py
+++ b/product/ERP5/Document/DeliveryLine.py
@@ -133,6 +133,14 @@ Une ligne tarifaire."""
     # Multiple inheritance definition
     updateRelatedContent = XMLMatrix.updateRelatedContent
 
+    # Explicit acquisition of aq_dynamic generated method
+    security.declareProtected(Permissions.AccessContentsInformation, 'getSimulationState')
+    def getSimulationState(self):
+      """
+        Explicitly acquire simulation_state from parent
+      """
+      return self.aq_parent.getSimulationState()
+    
     # Force in _edit to modify variation_base_category_list first
     security.declarePrivate( '_edit' )
     def _edit(self, REQUEST=None, force_update = 0, **kw):