Goffin Simon
c05abb2db8
[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
2018-11-28 12:34:55 +00:00
..
2018-11-27 14:41:27 +00:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-15 18:15:47 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-22 12:22:36 +00:00
2018-11-18 03:15:42 +01:00
2018-11-27 11:00:55 +00:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-08-10 09:39:44 +02:00
2018-08-27 13:26:20 +02:00
2018-09-28 13:21:56 +00:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-09-17 14:51:13 +02:00
2018-10-18 15:30:59 +02:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-10-31 18:31:53 +01:00
2018-07-24 10:45:46 +02:00
2018-09-26 11:28:33 +02:00
2018-09-26 11:28:33 +02:00
2018-07-26 15:15:12 +02:00
2018-07-26 15:14:17 +02:00
2018-07-26 15:14:17 +02:00
2018-07-24 10:45:46 +02:00
2018-09-17 14:15:46 +02:00
2018-07-24 10:45:46 +02:00
2018-07-16 16:25:59 +02:00
2018-08-21 16:00:40 +02:00
2018-09-20 12:34:51 +00:00
2018-09-14 16:42:55 +02:00
2018-09-28 19:10:04 +02:00
2018-09-28 19:10:04 +02:00
2018-11-01 02:44:41 +01:00
2018-09-14 11:20:38 +02:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-10-31 17:23:32 +01:00
2018-07-24 10:45:46 +02:00
2018-09-03 12:05:30 +02:00
2018-11-07 08:37:41 +00:00
2018-10-31 17:23:32 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-28 09:11:28 +00:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-19 15:23:00 +01:00
2018-11-28 04:51:02 +00:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-23 09:48:08 +00:00
2018-11-28 12:34:55 +00:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-15 18:15:47 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-14 10:38:57 +00:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-25 03:17:33 +01:00
2018-11-28 09:35:39 +00:00
2018-11-11 03:16:11 +01:00
2018-11-23 10:32:45 +00:00
2018-11-04 03:16:30 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-18 03:15:42 +01:00
2018-11-15 18:15:47 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-25 03:17:33 +01:00
2018-11-11 03:16:11 +01:00
2018-11-11 03:16:11 +01:00
2018-11-14 11:17:15 +00:00
2018-11-18 03:15:42 +01:00
2018-11-11 03:16:11 +01:00
2018-11-19 13:46:02 +00:00
2018-11-11 03:16:11 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00
2018-11-18 03:15:42 +01:00