Commit 3c2425a9 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

Transformation: inherit from CompositionMixin

parent aaec2687
...@@ -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