Commit bc534630 authored by Romain Courteaud's avatar Romain Courteaud

erp5_open_trade: copy all aggregate values

parent c302dc5b
......@@ -142,6 +142,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
base_application_list = movement.getBaseApplicationList()
base_contribution_list = movement.getBaseContributionList()
use_list = movement.getUseList()
aggregate_list = movement.getAggregateList()
specialise = movement.getSpecialise()
current_date = start_date
......@@ -151,7 +152,7 @@ class SubscriptionItem(Item, CompositionMixin, MovementGeneratorMixin,
generated_movement = self.newContent(temp_object=True,
portal_type='Movement',
id='subscription_%s' % id_index)
generated_movement._edit( aggregate_value=self,
generated_movement._edit( aggregate_list=aggregate_list,
resource=resource,
quantity=quantity,
quantity_unit=quantity_unit,
......
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