diff options
| author | Goffin Simon <sig@odoo.com> | 2018-11-28 10:19:15 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-11-28 12:34:55 +0000 |
| commit | c05abb2db837138ef784034aa8bab2fe2e014206 (patch) | |
| tree | bf7eb2b2dd449b90834ae9e2d8003ee59610b7f7 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | bb6f6c57f97b091f3f68161039de980eb9ce739d (diff) | |
[FIX] sale: Wrong amount amount invoiced in sale.report
Steps to reproduce the bug:
Let's consider a product P with a unit price = 10
- Create a SO for two lines of the same product P
- Validate the SO and create the invoice
- Refund the invoice and validate it
- Go to Reporting > Sale report and select "Invoiced amount" as measures
Bug= -20 was displayed for the invoiced amount.
Technically, the two refund invoice lines of P were used two times in function
_compute_invoice_amount because for each SO line we catched all the refund lines
of the same product.
opw:1906445
closes odoo/odoo#29095
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
