diff --git a/product/ERP5/Document/TradeModelLine.py b/product/ERP5/Document/TradeModelLine.py index 708009d39f0add7917a96b21564df762468756ed..d497836c29d9a57985433600be7494ac559015fc 100644 --- a/product/ERP5/Document/TradeModelLine.py +++ b/product/ERP5/Document/TradeModelLine.py @@ -32,11 +32,12 @@ from AccessControl import ClassSecurityInfo from Products.ERP5Type import Permissions, PropertySheet, interfaces from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5.Document.Amount import Amount +from Products.ERP5.Document.Predicate import Predicate from Products.ERP5Type.Utils import cartesianProduct from Products.ERP5.AggregatedAmountList import AggregatedAmountList import zope.interface -class TradeModelLine(XMLMatrix, Amount): +class TradeModelLine(Predicate, XMLMatrix, Amount): """Trade Model Line """ meta_type = 'ERP5 Trade Model Line' @@ -59,6 +60,7 @@ class TradeModelLine(XMLMatrix, Amount): , PropertySheet.Price , PropertySheet.TradeModelLine , PropertySheet.Reference + , PropertySheet.Predicate ) def getPrice(self):