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

- fix the test for "omit balanced accounts"

- fix the ordering of fields in the report

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30810 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d839101f
...@@ -135,11 +135,15 @@ for party in context.Account_zDistinctSectionList(\n ...@@ -135,11 +135,15 @@ for party in context.Account_zDistinctSectionList(\n
# don\'t show entities belonging to the group we are reporting\n # don\'t show entities belonging to the group we are reporting\n
if omit_balanced_accounts and (\n if omit_balanced_accounts and (\n
simulation_tool.getInventoryAssetPrice(\n simulation_tool.getInventoryAssetPrice(\n
section_category=section_category,\n
at_date=at_date,\n
simulation_state=simulation_state,\n
mirror_section_uid=party.uid,\n mirror_section_uid=party.uid,\n
node_category_strict_membership=(\n node_category_strict_membership=(\n
\'account_type/asset/receivable\',\n \'account_type/asset/receivable\',\n
# TODO: don\'t compare floats for equality ...\n \'account_type/liability/payable\'),\n
\'account_type/liability/payable\')) == 0.):\n # TODO: don\'t compare floats for equality ...\n
) == 0.):\n
pass\n pass\n
else:\n else:\n
title = o.getTitle()\n title = o.getTitle()\n
......
...@@ -92,14 +92,14 @@ ...@@ -92,14 +92,14 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>your_section_category</string>
<string>your_at_date</string>
<string>your_simulation_state</string>
<string>your_omit_balanced_accounts</string> <string>your_omit_balanced_accounts</string>
<string>your_omit_empty_accounts</string> <string>your_omit_empty_accounts</string>
<string>your_omit_grouped_references</string> <string>your_omit_grouped_references</string>
<string>your_entity_role</string> <string>your_entity_role</string>
<string>your_at_date</string>
<string>your_gap_root</string> <string>your_gap_root</string>
<string>your_section_category</string>
<string>your_simulation_state</string>
</list> </list>
</value> </value>
</item> </item>
......
1052 1054
\ 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