[Erp5-report] r41509 yusei - /erp5/trunk/products/ERP5/Document/Path.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 17 04:24:27 CET 2010
Author: yusei
Date: Fri Dec 17 04:24:26 2010
New Revision: 41509
URL: http://svn.erp5.org?rev=41509&view=rev
Log:
Since MappedValue does not inherit Amount now, Path has to inherit
Amount. Otherwise child class of Path(Supply Cell for example) cannot
handle variation.
Modified:
erp5/trunk/products/ERP5/Document/Path.py
Modified: erp5/trunk/products/ERP5/Document/Path.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Path.py?rev=41509&r1=41508&r2=41509&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Path.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Path.py [utf8] Fri Dec 17 04:24:26 2010
@@ -31,8 +31,10 @@ from AccessControl import ClassSecurityI
from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.MappedValue import MappedValue
+from Products.ERP5.Document.Amount import Amount
-class Path(MappedValue):
+
+class Path(MappedValue, Amount):
"""
A Path defines a planning element. A path is the combination of
More information about the Erp5-report
mailing list