Commit d4b83fa7 authored by Rafael Monnerat's avatar Rafael Monnerat

The invoicing rule expand was over-wrinting with old values the properties

in the simulation movements.

This fix one part of testInvoice, but still they fail because the floating Problem.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10150 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5df48fa3
......@@ -138,6 +138,9 @@ class InvoicingRule(Rule):
modify, remove)
- add/modify/remove child movements to match prevision
"""
parent_movement = applied_rule.getParentValue()
if parent_movement is not None:
if not parent_movement.isFrozen():
add_list, modify_dict, \
delete_list = self._getCompensatedMovementList(applied_rule, **kw)
......
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