Commit 6c08bb66 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Copy price from old movement to differed movement, or else the

invoice_transaction_builder will fail.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7300 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 043b6ff9
...@@ -66,6 +66,7 @@ class SplitAndDefer(CopyToTarget): ...@@ -66,6 +66,7 @@ class SplitAndDefer(CopyToTarget):
order=simulation_movement.getOrder(), order=simulation_movement.getOrder(),
deliverable=simulation_movement.isDeliverable(), deliverable=simulation_movement.isDeliverable(),
quantity=movement_quantity-new_movement_quantity, quantity=movement_quantity-new_movement_quantity,
price = simulation_movement.getPrice(),
source = simulation_movement.getSource(), source = simulation_movement.getSource(),
destination = simulation_movement.getDestination(), destination = simulation_movement.getDestination(),
source_section = simulation_movement.getSourceSection(), source_section = simulation_movement.getSourceSection(),
......
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