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

Don't group by mirror_section in...

Don't group by mirror_section in AccountModule_getFiscalReportCreditorNodeBalance and AccountModule_getFiscalReportDebitorNodeBalance



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21424 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d31d8b49
...@@ -89,7 +89,6 @@ else:\n ...@@ -89,7 +89,6 @@ else:\n
sum = 0.0\n sum = 0.0\n
for inventory in portal.portal_simulation.getInventoryList(\n for inventory in portal.portal_simulation.getInventoryList(\n
group_by_node=1,\n group_by_node=1,\n
group_by_mirror_section=1,\n
**kw):\n **kw):\n
if inventory.total_price < 0:\n if inventory.total_price < 0:\n
sum += (inventory.total_price or 0)\n sum += (inventory.total_price or 0)\n
......
...@@ -89,7 +89,6 @@ else:\n ...@@ -89,7 +89,6 @@ else:\n
sum = 0.0\n sum = 0.0\n
for inventory in portal.portal_simulation.getInventoryList(\n for inventory in portal.portal_simulation.getInventoryList(\n
group_by_node=1,\n group_by_node=1,\n
group_by_mirror_section=1,\n
**kw):\n **kw):\n
if inventory.total_price > 0:\n if inventory.total_price > 0:\n
sum += inventory.total_price\n sum += inventory.total_price\n
......
707 708
\ 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