Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
3c2425a9
Commit
3c2425a9
authored
Feb 27, 2018
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
Mar 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transformation: inherit from CompositionMixin
parent
aaec2687
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_pdm/DocumentTemplateItem/portal_components/document.erp5.Transformation.py
...ateItem/portal_components/document.erp5.Transformation.py
+2
-1
No files found.
bt5/erp5_pdm/DocumentTemplateItem/portal_components/document.erp5.Transformation.py
View file @
3c2425a9
...
...
@@ -39,11 +39,12 @@ from erp5.component.document.Amount import Amount
from
erp5.component.document.MappedValue
import
MappedValue
from
erp5.component.mixin.AmountGeneratorMixin
import
AmountGeneratorMixin
from
erp5.component.mixin.CompositionMixin
import
CompositionMixin
from
Products.ERP5.mixin.variated
import
VariatedMixin
# XXX Give priority to VariatedMixin (over Amount) due to conflicting
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment