Commit d6645a2f authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Transformation: inherit from CompositionMixin

parent ca5e811d
...@@ -39,11 +39,12 @@ from erp5.component.document.Amount import Amount ...@@ -39,11 +39,12 @@ from erp5.component.document.Amount import Amount
from erp5.component.document.MappedValue import MappedValue from erp5.component.document.MappedValue import MappedValue
from erp5.component.mixin.AmountGeneratorMixin import AmountGeneratorMixin from erp5.component.mixin.AmountGeneratorMixin import AmountGeneratorMixin
from erp5.component.mixin.CompositionMixin import CompositionMixin
from Products.ERP5.mixin.variated import VariatedMixin from Products.ERP5.mixin.variated import VariatedMixin
# XXX Give priority to VariatedMixin (over Amount) due to conflicting # XXX Give priority to VariatedMixin (over Amount) due to conflicting
# implementations of getVariationBaseCategoryList # implementations of getVariationBaseCategoryList
class Transformation(MappedValue, VariatedMixin, Amount, AmountGeneratorMixin): class Transformation(MappedValue, VariatedMixin, Amount, AmountGeneratorMixin, CompositionMixin):
""" """
Build of material - contains a list of transformed resources Build of material - contains a list of transformed resources
......
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