Commit e808ef86 authored by Alexandre Boeglin's avatar Alexandre Boeglin

When created, the simulation movement now copies the price from its parent...

When created, the simulation movement now copies the price from its parent simulation movement, as it is needed by its child rules and buildInvoiceTransactionList() like functions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2185 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e30970d6
...@@ -105,6 +105,7 @@ class InvoicingRule(Rule): ...@@ -105,6 +105,7 @@ class InvoicingRule(Rule):
resource = my_context_movement.getResource() resource = my_context_movement.getResource()
transformation_source._edit( transformation_source._edit(
price = my_context_movement.getPrice(),
target_quantity = my_context_movement.getTargetQuantity(), target_quantity = my_context_movement.getTargetQuantity(),
target_efficiency = my_context_movement.getTargetEfficiency(), target_efficiency = my_context_movement.getTargetEfficiency(),
resource = resource, resource = resource,
......
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