[Erp5-report] r7706 - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 13 16:26:33 CEST 2006
Author: jerome
Date: Tue Jun 13 16:26:30 2006
New Revision: 7706
URL: http://svn.erp5.org?rev=7706&view=rev
Log:
Remove unused reset method.
Modified:
erp5/trunk/products/ERP5/Document/AppliedRule.py
erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py
Modified: erp5/trunk/products/ERP5/Document/AppliedRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/AppliedRule.py?rev=7706&r1=7705&r2=7706&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/AppliedRule.py (original)
+++ erp5/trunk/products/ERP5/Document/AppliedRule.py Tue Jun 13 16:26:30 2006
@@ -84,21 +84,6 @@
else:
rule = self.getSpecialiseValue()
return rule.test(my_parent)
-
- # Simulation workflow
- def reset(self):
- """
- DO WE NEED IT ?
-
- -> this does either a diverge or a reset depending
- on the position in the tree
-
- if it is in root position, it is a solve
- if it is in non root position, it is a diverse
- """
- rule = self.getSpecialiseValue()
- if rule is not None:
- rule.reset(self)
security.declareProtected(Permissions.AccessContentsInformation,
'isAccountable')
Modified: erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py?rev=7706&r1=7705&r2=7706&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py (original)
+++ erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py Tue Jun 13 16:26:30 2006
@@ -172,18 +172,6 @@
if not supply_chain.test(parent_supply_link, movement):
result = 0
return result
-
- # Simulation workflow
- def reset(self, applied_rule):
- """
- DO WE NEED IT ?
-
- -> this does either a diverge or a reset depending
- on the position in the tree
-
- if it is in root position, it is a solve
- if it is in non root position, it is a diverse
- """
security.declareProtected(Permissions.ModifyPortalContent, 'expand')
def expand(self, applied_rule, activate_kw=None,**kw):
More information about the Erp5-report
mailing list