Commit c5a21bf1 authored by Jérome Perrin's avatar Jérome Perrin

don't reexpand tax rule if simulation movement is already linked to a delivery


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24746 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11eed6a2
......@@ -101,6 +101,7 @@ class TaxRule(DeliveryRule):
else:
for existing_simulation_movement in \
existing_simulation_movement_list:
if existing_simulation_movement.getDelivery() is None:
existing_simulation_movement.edit(**property_dict)
# Pass to base class
......
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