[Erp5-report] r19362 - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 18 17:36:40 CET 2008
Author: yo
Date: Mon Feb 18 17:36:39 2008
New Revision: 19362
URL: http://svn.erp5.org?rev=19362&view=rev
Log:
Remove monkey patch.
Modified:
erp5/trunk/products/ERP5/Document/TransformationRule.py
erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py
Modified: erp5/trunk/products/ERP5/Document/TransformationRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TransformationRule.py?rev=19362&r1=19361&r2=19362&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TransformationRule.py (original)
+++ erp5/trunk/products/ERP5/Document/TransformationRule.py Mon Feb 18 17:36:39 2008
@@ -40,7 +40,7 @@
class TransformationRuleError(Exception): pass
-class TransformationRule(Rule):
+class TransformationRule(TransformationSourcingRuleMixin, Rule):
"""
Order Rule object make sure an Order in the similation
is consistent with the real order
@@ -323,5 +323,3 @@
def isOrderable(self, m):
return 0
-from Products.ERP5Type.Utils import monkeyPatch
-monkeyPatch(TransformationSourcingRuleMixin, TransformationRule)
Modified: erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py?rev=19362&r1=19361&r2=19362&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py (original)
+++ erp5/trunk/products/ERP5/Document/TransformationSourcingRule.py Mon Feb 18 17:36:39 2008
@@ -128,7 +128,7 @@
portal_type=self.getPortalTransformationTypeList())
return transformation
-class TransformationSourcingRule(Rule):
+class TransformationSourcingRule(TransformationSourcingRuleMixin, Rule):
"""
Transformation Sourcing Rule object make sure
items required in a Transformation are sourced
@@ -264,5 +264,3 @@
def isOrderable(self, m):
return 0
-from Products.ERP5Type.Utils import monkeyPatch
-monkeyPatch(TransformationSourcingRuleMixin, TransformationSourcingRule)
More information about the Erp5-report
mailing list