From 4b8b5cac234f9fefa31cd7f96884665014275312 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 12 Feb 2010 14:09:50 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/ProductionOrderModelRule.py | 3 ++- product/ERP5/Document/ProductionOrderRule.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/ProductionOrderModelRule.py b/product/ERP5/Document/ProductionOrderModelRule.py index b9cb9f9c76..7a6510dcf6 100644 --- a/product/ERP5/Document/ProductionOrderModelRule.py +++ b/product/ERP5/Document/ProductionOrderModelRule.py @@ -54,7 +54,8 @@ class ProductionOrderModelRule(TransformationModelRuleMixin, OrderRule): # Simulation workflow security.declareProtected(Permissions.AccessContentsInformation, '_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 the simulation movement. diff --git a/product/ERP5/Document/ProductionOrderRule.py b/product/ERP5/Document/ProductionOrderRule.py index 898c19d5d0..5c73110bb5 100644 --- a/product/ERP5/Document/ProductionOrderRule.py +++ b/product/ERP5/Document/ProductionOrderRule.py @@ -55,7 +55,8 @@ class ProductionOrderRule(OrderRule): # Simulation workflow security.declareProtected(Permissions.AccessContentsInformation, '_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 the simulation movement. -- 2.30.9