summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-02-05 13:06:33 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-02-11 09:16:03 +0000
commit825b227d5c51a080563ef8f34c5942c6e22aaf21 (patch)
treecf4094a8e7073ecacd49a4e9fa7da54c7276a8df /setup.py
parent479cb5bfcd87bf9210d2314adcd5798680d5ed70 (diff)
[FIX] account: fix invoice report total incorrect
Go to Accounting / Reporting / Management / Invoices Select Pivot view Add "Total" measure expand results adding "invoice #" and product Total will be incorrect because it is summing up the value reported from several lines of the query in which the total is taken as the invoice total, so it will display total * # lines. Using the price retrieved from the single lines fix the issue, but it needs to be converted according to the currency rate of the invoice. Moreover the test need to be modified because the amount_total variable of the report should NOT be the move amount_total but the amount from all the lines converted in company currency opw-2187369 closes odoo/odoo#45050 X-original-commit: 1558bb2a62cf169e6b19a2aa4dd92fcd8ff1b25a Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions