Commit 741a6b58 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we should calculate property_dict that is used for editing delivery_line

even if update_existing_line is false, otherwise some properties in
cell-level movement group will not be updated.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24588 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3accd45c
...@@ -574,9 +574,11 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -574,9 +574,11 @@ class OrderBuilder(XMLObject, Amount, Predicate):
object_to_update_list = [] object_to_update_list = []
else: else:
object_to_update_list = [delivery_line] object_to_update_list = [delivery_line]
object_to_update, property_dict = self._findUpdatableObject( else:
object_to_update_list, movement_group_list, object_to_update_list = []
divergence_list) object_to_update, property_dict = self._findUpdatableObject(
object_to_update_list, movement_group_list,
divergence_list)
if object_to_update is not None: if object_to_update is not None:
update_existing_movement = 1 update_existing_movement = 1
else: else:
......
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