Commit 94dd6b9d authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Titouan Soulard

PSA: aggregate must be propagated even for Parts (IPL-c-PL).

parent fdd139c6
...@@ -146,8 +146,6 @@ class TransformationRuleMovementGenerator(MovementGeneratorMixin): ...@@ -146,8 +146,6 @@ class TransformationRuleMovementGenerator(MovementGeneratorMixin):
amount.getCategoryList(), amount.getCategoryList(),
base=True) base=True)
movement.quantity = - movement.quantity movement.quantity = - movement.quantity
# aggregation of items should not be propagated to what comes from transformation
movement.setAggregateList([])
yield movement yield movement
phase_dict = parent_movement.asComposedDocument() \ phase_dict = parent_movement.asComposedDocument() \
.getPreviousTradePhaseDict(phase_set) .getPreviousTradePhaseDict(phase_set)
......
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