Commit 29176e96 authored by Jérome Perrin's avatar Jérome Perrin

split and defer should copy price_currency, description and base contributions

to be consistent with rules


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25391 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e86bb3d1
......@@ -67,11 +67,14 @@ class SplitAndDefer(CopyToTarget):
deliverable=simulation_movement.isDeliverable(),
quantity=movement_quantity-new_movement_quantity,
price = simulation_movement.getPrice(),
price_currency = simulation_movement.getPriceCurrency(),
source = simulation_movement.getSource(),
destination = simulation_movement.getDestination(),
source_section = simulation_movement.getSourceSection(),
resource = simulation_movement.getResource(),
destination_section = simulation_movement.getDestinationSection(),
base_contribution_list=simulation_movement.getBaseContributionList(),
description=simulation_movement.getDescription(),
activate_kw=self.activate_kw,
**self.additional_parameters
)
......
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