summaryrefslogtreecommitdiff
path: root/addons/website/data/website_data.xml
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-05-31 14:40:54 +0000
committerNans Lefebvre <len@odoo.com>2019-06-04 06:00:08 +0000
commit77da958be61e266ba535cdab3a8dad015f8fbc0f (patch)
tree4674d16964a2557a54acb007e427b5edaa5323d6 /addons/website/data/website_data.xml
parent16f9375dab793b802fb13467d6b70821373d3df2 (diff)
[FIX] account_invoice_report: fix group by product
Group by invoice, products: the untaxed total is correct, while the (taxed) total is the sum of the lines divided by the number of lines. On account.invoice.line, there is a price_subtotal_signed, which is the price_subtotal (untaxed) in the company currency. Unfortunately price_total_signed does not exist for price_total (untaxed). As a result, we need to use the price_total on the invoice line, and divide by the currency rate. Unfortunately we cannot do it in the subquery because of the scope of the rate. opw 2003185 closes odoo/odoo#33802 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions