Commit 4b8b5cac authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

now business_path can be passed to _getExpandablePropertyDict().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 28063166
...@@ -54,7 +54,8 @@ class ProductionOrderModelRule(TransformationModelRuleMixin, OrderRule): ...@@ -54,7 +54,8 @@ class ProductionOrderModelRule(TransformationModelRuleMixin, OrderRule):
# Simulation workflow # Simulation workflow
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'_getExpandablePropertyDict') '_getExpandablePropertyDict')
def _getExpandablePropertyDict(self, applied_rule, movement, **kw): def _getExpandablePropertyDict(self, applied_rule, movement, business_path=None,
**kw):
""" """
Return a Dictionary with the Properties used to edit Return a Dictionary with the Properties used to edit
the simulation movement. the simulation movement.
......
...@@ -55,7 +55,8 @@ class ProductionOrderRule(OrderRule): ...@@ -55,7 +55,8 @@ class ProductionOrderRule(OrderRule):
# Simulation workflow # Simulation workflow
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'_getExpandablePropertyDict') '_getExpandablePropertyDict')
def _getExpandablePropertyDict(self, applied_rule, movement, **kw): def _getExpandablePropertyDict(self, applied_rule, movement, business_path=None,
**kw):
""" """
Return a Dictionary with the Properties used to edit Return a Dictionary with the Properties used to edit
the simulation movement. the simulation movement.
......
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