From 92b7cf9c814b89bb36014d4f447add5068a34a5f Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Fri, 17 Dec 2010 03:24:26 +0000 Subject: [PATCH] Since MappedValue does not inherit Amount now, Path has to inherit Amount. Otherwise child class of Path(Supply Cell for example) cannot handle variation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41509 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Path.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/Path.py b/product/ERP5/Document/Path.py index 614ee17b9b..69c44eeb71 100644 --- a/product/ERP5/Document/Path.py +++ b/product/ERP5/Document/Path.py @@ -31,8 +31,10 @@ from AccessControl import ClassSecurityInfo 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 -- 2.30.9