Commit 324f3b9a authored by Fabien Morin's avatar Fabien Morin

inheritate from Predicate. This permit to have the test method on...

inheritate from Predicate. This permit to have the test method on TradeModelLine (used in getAggregatedAmountList)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27412 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 660533d2
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment