diff --git a/product/ERP5/interfaces/business_process.py b/product/ERP5/interfaces/business_process.py index 4337098ae21da2b1bacfd331009189f9afe3e5aa..c7075427b9a019f871f86e70cbfc4d56ed94ddab 100644 --- a/product/ERP5/interfaces/business_process.py +++ b/product/ERP5/interfaces/business_process.py @@ -89,6 +89,6 @@ class IBusinessProcess(IBusinessCompletable, IBusinessBuildable): cause of a root applied rule in the simulation """ - def getTradePhaseList(self): + def getTradePhaseList(): """Returns list of all trade_phase of this Business Process """ diff --git a/product/ERP5/interfaces/divergence_controller.py b/product/ERP5/interfaces/divergence_controller.py index 67509524bb9ddccaefab5aec91368ccb6869a2d2..867e467ee25f6e6babfc93375871456a8fdcf2e7 100644 --- a/product/ERP5/interfaces/divergence_controller.py +++ b/product/ERP5/interfaces/divergence_controller.py @@ -66,7 +66,7 @@ class IDivergenceController(Interface): or a list thereof """ - def getDivergenceList(self, movement=None): + def getDivergenceList(movement=None): """ Returns a list of divergences of the movements provided in delivery_or_movement. diff --git a/product/ERP5/interfaces/rule.py b/product/ERP5/interfaces/rule.py index 181c7af3b7721b4bcf921ee85a15adff20961cb5..8b4520ff3c69ac9d808e6f78b5a239145f88bcbe 100644 --- a/product/ERP5/interfaces/rule.py +++ b/product/ERP5/interfaces/rule.py @@ -37,8 +37,8 @@ class IRule(IMovementCollectionUpdater): Documents which implement IRule can be used to expand applied rules in ERP5 simulation. """ - def constructNewAppliedRule(self, context, id=None, - activate_kw=None, **kw): + def constructNewAppliedRule(context, id=None, + activate_kw=None, **kw): """ Create a new applied rule in the context. diff --git a/product/ERP5/interfaces/variated.py b/product/ERP5/interfaces/variated.py index bf4b07f27323ceb13f9c03b600a0e73912e15d4a..ab764115a15c96d6c097593a07c607d1cd757c79 100644 --- a/product/ERP5/interfaces/variated.py +++ b/product/ERP5/interfaces/variated.py @@ -78,7 +78,7 @@ class IVariated(Interface): omit_individual_variation -- """ - def getVariationBaseCategoryItemList(self, display_id='title_or_id', + def getVariationBaseCategoryItemList(display_id='title_or_id', omit_optional_variation=0, omit_individual_variation=0): """ returns a list of (base_category.id, base_category.display_id()) @@ -94,7 +94,7 @@ class IVariated(Interface): omit_individual_variation -- """ - def getVariationCategoryList(self, base_category_list=(), + def getVariationCategoryList(base_category_list=(), omit_optional_variation=0, omit_individual_variation=0): """ returns a list or relative URLs which defines @@ -238,7 +238,7 @@ class IVariated(Interface): """ # Serialization API - def getVariationText(self): + def getVariationText(): """ returns a human readable, computer parsable, non ambiguous string representation of the variation diff --git a/product/ERP5/interfaces/variation_range.py b/product/ERP5/interfaces/variation_range.py index c29a5958afeea56d1beb53c93d2be34f3bf2dfbe..cf938503454b346b6308be4109295a01562fac74 100644 --- a/product/ERP5/interfaces/variation_range.py +++ b/product/ERP5/interfaces/variation_range.py @@ -81,11 +81,11 @@ class IVariationRange(Interface): XXX - missing default display ID """ - def getMatrixVariationRangeBaseCategoryList(self): + def getMatrixVariationRangeBaseCategoryList(): """ return possible variation dimensions for a matrix Used in: Resource, Delivery Line XXX - missing default display ID - """ \ No newline at end of file + """