Commit 7d982dc7 authored by Jérome Perrin's avatar Jérome Perrin

fix a problem on accounting module stat columns. It was not showing good...

fix a problem on accounting module stat columns. It was not showing good values when a transactions contains more than 2 lines on the same side

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 674ec609
...@@ -663,7 +663,7 @@ destination_section_where_expression</string> </value> ...@@ -663,7 +663,7 @@ destination_section_where_expression</string> </value>
(\n (\n
SELECT\n SELECT\n
<dtml-if stat>\n <dtml-if stat>\n
stock.total_price, catalog.uid\n stock.total_price, child.uid\n
<dtml-elif count>\n <dtml-elif count>\n
catalog.uid\n catalog.uid\n
<dtml-else>\n <dtml-else>\n
...@@ -851,7 +851,7 @@ UNION\n ...@@ -851,7 +851,7 @@ UNION\n
(\n (\n
SELECT\n SELECT\n
<dtml-if stat>\n <dtml-if stat>\n
stock.total_price, catalog.uid\n stock.total_price, child.uid\n
<dtml-elif count>\n <dtml-elif count>\n
catalog.uid\n catalog.uid\n
<dtml-else>\n <dtml-else>\n
...@@ -1325,7 +1325,7 @@ UNION\n ...@@ -1325,7 +1325,7 @@ UNION\n
(\n (\n
SELECT\n SELECT\n
<dtml-if stat>\n <dtml-if stat>\n
stock.total_price, catalog.uid\n stock.total_price, child.uid\n
<dtml-elif count>\n <dtml-elif count>\n
catalog.uid\n catalog.uid\n
<dtml-else>\n <dtml-else>\n
...@@ -1513,7 +1513,7 @@ UNION\n ...@@ -1513,7 +1513,7 @@ UNION\n
(\n (\n
SELECT\n SELECT\n
<dtml-if stat>\n <dtml-if stat>\n
stock.total_price, catalog.uid\n stock.total_price, child.uid\n
<dtml-elif count>\n <dtml-elif count>\n
catalog.uid\n catalog.uid\n
<dtml-else>\n <dtml-else>\n
......
1162 1163
\ 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