Commit 76e7557c authored by Jérome Perrin's avatar Jérome Perrin

Move XMLMatrix to the first in class hierarchy, so that self._checkConsistency

resolves to XMLMatrix._checkConsistency


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34406 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d1dc66f
...@@ -35,7 +35,7 @@ from Products.ERP5.Document.Predicate import Predicate ...@@ -35,7 +35,7 @@ from Products.ERP5.Document.Predicate import Predicate
from Products.ERP5.Variated import Variated from Products.ERP5.Variated import Variated
class BudgetLine(Predicate, XMLMatrix, Variated): class BudgetLine(XMLMatrix, Predicate, Variated):
""" """
BudgetLine a line of budget... BudgetLine a line of budget...
""" """
......
...@@ -35,7 +35,7 @@ from Products.ERP5Type.XMLObject import XMLObject ...@@ -35,7 +35,7 @@ from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Variated import Variated from Products.ERP5.Variated import Variated
class Consumption(XMLObject, XMLMatrix, Variated): class Consumption(XMLMatrix, XMLObject, Variated):
""" """
A matrix which provides default quantities A matrix which provides default quantities
for a given quantity for a given quantity
......
...@@ -38,7 +38,7 @@ from Products.ERP5.Document.Movement import Movement ...@@ -38,7 +38,7 @@ from Products.ERP5.Document.Movement import Movement
from Products.ERP5.Variated import Variated from Products.ERP5.Variated import Variated
from Products.ERP5.Document.ImmobilisationMovement import ImmobilisationMovement from Products.ERP5.Document.ImmobilisationMovement import ImmobilisationMovement
class DeliveryLine(Movement, XMLObject, XMLMatrix, Variated, class DeliveryLine(XMLMatrix, Movement, XMLObject, Variated,
ImmobilisationMovement): ImmobilisationMovement):
""" """
A DeliveryLine object allows to implement lines in A DeliveryLine object allows to implement lines in
......
...@@ -33,7 +33,7 @@ from Products.ERP5.Document.TradeCondition import TradeCondition ...@@ -33,7 +33,7 @@ from Products.ERP5.Document.TradeCondition import TradeCondition
from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Document.PaySheetTransaction import PaySheetTransaction from Products.ERP5.Document.PaySheetTransaction import PaySheetTransaction
class PaySheetModel(TradeCondition, XMLMatrix): class PaySheetModel(XMLMatrix, TradeCondition):
"""A PaySheetModel defines calculation rules for paysheets. """A PaySheetModel defines calculation rules for paysheets.
PaySheetModel are used to define calculating rules specific to a PaySheetModel are used to define calculating rules specific to a
......
...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix ...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Document.MappedValue import MappedValue from Products.ERP5.Document.MappedValue import MappedValue
class PortalTest(MappedValue, XMLMatrix): class PortalTest(XMLMatrix, MappedValue):
""" """
Container for test descriptions (funtionnal test scenarii,...). Container for test descriptions (funtionnal test scenarii,...).
""" """
......
...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix ...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Document.MappedValue import MappedValue from Products.ERP5.Document.MappedValue import MappedValue
class Pricing(MappedValue, XMLMatrix): class Pricing(XMLMatrix, MappedValue):
""" """
Un element de tarif est un prix pour un ensemble de conditions d'application... Un element de tarif est un prix pour un ensemble de conditions d'application...
""" """
......
...@@ -36,7 +36,7 @@ from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter ...@@ -36,7 +36,7 @@ from Products.ERP5Type.Accessor.Constant import PropertyGetter as ConstantGetter
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5Type.XMLMatrix import XMLMatrix
class Project(XMLObject, XMLMatrix): class Project(XMLMatrix, XMLObject):
""" """
Project is a class which describes a typical project in consulting firm. Project is a class which describes a typical project in consulting firm.
A project has a client, an invoiced client. A project has also a start A project has a client, an invoiced client. A project has also a start
......
...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix ...@@ -33,7 +33,7 @@ from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Document.MappedValue import MappedValue from Products.ERP5.Document.MappedValue import MappedValue
class SetPricing(MappedValue, XMLMatrix): class SetPricing(XMLMatrix, MappedValue):
""" """
Un element de tarif est un prix pour un ensemble de conditions d'application... Un element de tarif est un prix pour un ensemble de conditions d'application...
""" """
......
...@@ -35,7 +35,7 @@ from Products.ERP5.Document.Path import Path ...@@ -35,7 +35,7 @@ from Products.ERP5.Document.Path import Path
from Products.ERP5Type.Utils import convertToUpperCase from Products.ERP5Type.Utils import convertToUpperCase
class SupplyLine(Path, XMLMatrix): class SupplyLine(XMLMatrix, Path):
"""A Supply Line is a path to define price """A Supply Line is a path to define price
""" """
......
...@@ -40,7 +40,7 @@ from Products.ERP5.PropertySheet.TradeModelLine import (TARGET_LEVEL_MOVEMENT, ...@@ -40,7 +40,7 @@ from Products.ERP5.PropertySheet.TradeModelLine import (TARGET_LEVEL_MOVEMENT,
TARGET_LEVEL_DELIVERY) TARGET_LEVEL_DELIVERY)
import zope.interface import zope.interface
class TradeModelLine(Predicate, XMLMatrix, Amount): class TradeModelLine(XMLMatrix, Predicate, Amount):
"""Trade Model Line is a way to represent trade transformation for movements""" """Trade Model Line is a way to represent trade transformation for movements"""
meta_type = 'ERP5 Trade Model Line' meta_type = 'ERP5 Trade Model Line'
portal_type = 'Trade Model Line' portal_type = 'Trade Model Line'
......
...@@ -41,7 +41,7 @@ from Products.ERP5.AggregatedAmountList import AggregatedAmountList ...@@ -41,7 +41,7 @@ from Products.ERP5.AggregatedAmountList import AggregatedAmountList
from Products.ERP5.Document.Predicate import Predicate from Products.ERP5.Document.Predicate import Predicate
class TransformedResource(Predicate, XMLObject, XMLMatrix, Amount): class TransformedResource(XMLMatrix, Predicate, XMLObject, Amount):
""" """
TransformedResource defines which TransformedResource defines which
resource is being transformed resource is being transformed
......
...@@ -33,7 +33,7 @@ from Products.ERP5Type import Permissions, PropertySheet, interfaces ...@@ -33,7 +33,7 @@ from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5Type.XMLMatrix import XMLMatrix
class VariatedProperty(XMLObject, XMLMatrix): class VariatedProperty(XMLMatrix, XMLObject):
""" """
VariatedReference defines a reference which VariatedReference defines a reference which
can take multiples values depending of the variations of a resource can take multiples values depending of the variations of a resource
......
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