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

getInventoryList implicitly groups movements by resource_uid. This is a problem

for transactions in multiple currency.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13699 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e114eff3
...@@ -86,6 +86,7 @@ accounting_movement_type_list = [ t for t in\n ...@@ -86,6 +86,7 @@ accounting_movement_type_list = [ t for t in\n
\n \n
inventory_params = dict(section_uid=section_uid,\n inventory_params = dict(section_uid=section_uid,\n
simulation_state=simulation_state,\n simulation_state=simulation_state,\n
group_by_resource=0,\n
precision=precision)\n precision=precision)\n
MARKER = Object()\n MARKER = Object()\n
\n \n
...@@ -508,6 +509,12 @@ return line_list\n ...@@ -508,6 +509,12 @@ return line_list\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>show_empty_accounts, expand_accounts, at_date, from_date, period_start_date, section_uid, simulation_state, precision, **kw</string> </value> <value> <string>show_empty_accounts, expand_accounts, at_date, from_date, period_start_date, section_uid, simulation_state, precision, **kw</string> </value>
...@@ -570,8 +577,8 @@ return line_list\n ...@@ -570,8 +577,8 @@ return line_list\n
<string>account_used</string> <string>account_used</string>
<string>account_type_to_group_by_node</string> <string>account_type_to_group_by_node</string>
<string>profit_and_loss_account_type</string> <string>profit_and_loss_account_type</string>
<string>account_type_to_group_by_mirror_section</string>
<string>account_type_to_group_by_payment</string> <string>account_type_to_group_by_payment</string>
<string>account_type_to_group_by_mirror_section</string>
<string>total_debit</string> <string>total_debit</string>
<string>total_credit</string> <string>total_credit</string>
<string>total_initial_debit_balance</string> <string>total_initial_debit_balance</string>
......
225 226
\ No newline at end of file \ 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