Commit 2c18c870 authored by Vincent Pelletier's avatar Vincent Pelletier

Set prices on lines upon creation, to avoid conflicts errors at reindexing time.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25425 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6ac8cd22
......@@ -148,6 +148,7 @@ def create_movement(CD_head_dict, CD_line_list):\n
\n
\n
resource_total_quantity += CD_line[\'quantity\']\n
container_line.getPrice() # Store "price" property on line when creating it, to avoid getting conflicts when reindexing.\n
\n
# once all cash containter created, create the movement line for the total\n
movement_line = movement_head.newContent(id = "movement"\n
......
654
\ No newline at end of file
656
\ No newline at end of file
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