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

fix in Invoice_getRemainingTotalPayablePrice: store the *account* in the list...

fix in Invoice_getRemainingTotalPayablePrice: store the *account* in the list of accounts not the line.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13599 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8042619c
......@@ -115,7 +115,7 @@ for line in context.getMovementList(\n
key = (node_value.getRelativeUrl(), mirror_section)\n
total_payable_price_per_node_section[key] =\\\n
total_payable_price_per_node_section.get(key, 0) + amount\n
accounts_in_context.append(line)\n
accounts_in_context.append(node_value)\n
if line.getGroupingReference():\n
# we rememeber this line to check if there is any line grouped with it\n
groupped_line_list.append(line)\n
......
222
\ No newline at end of file
224
\ 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