Goffin Simon
bb939ffac0
(FIX] account: Impossible to make a partial credit note
...
Steps to reproduce the bug:
- Create a credit note for an amount of 100$
- Validate it and register a payment
- Let's pay an amount of 90$ and mark this credit note as fully paid
Bug:
An error message was raised saying: Wrong credit or debit value in accounting entry !
The field residual_company_signed must be positive for out_invoice and in_refund and
negative for in_invoice and out_refund. In this way, the correct writeoff amount
can be computed in function _create_payment_entry.
PS: In function _compute_payment_amount, the field residual_signed and residual_company_signed
are already signed, that's why it was wrong to multiply a second time on it with MAP_INVOICE_TYPE_PAYMENT_SIGN
opw:1893570
closes odoo/odoo#28148
2018-10-29 07:09:15 +00:00
..
2018-10-29 07:09:15 +00:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-06-04 18:06:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-26 12:09:12 +00:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-05-14 20:25:16 +02:00
2018-08-10 09:39:44 +02:00
2018-08-27 13:26:20 +02:00
2018-07-13 15:10:12 +02:00
2018-07-13 15:10:12 +02:00
2018-09-28 13:21:56 +00:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-05-02 17:03:31 +02:00
2018-07-24 10:45:46 +02:00
2018-04-17 13:29:04 +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-04-06 14:33:40 +02:00
2018-08-21 16:00:40 +02:00
2018-07-24 10:45:46 +02:00
2018-04-30 16:54:29 +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-06-05 15:10:45 +02:00
2018-05-18 18:53:56 +02:00
2018-08-21 16:00:40 +02:00
2018-05-02 15:34:42 +02:00
2018-06-04 11:30:49 +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-09-30 00:29:10 +02:00
2018-09-14 11:20:38 +02:00
2018-06-13 18:13:48 +02: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-07-24 10:45:46 +02:00
2018-09-03 12:05:30 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 12:25:45 +00:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-25 09:13:17 +00:00
2018-10-21 03:22:16 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-14 03:21:07 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-21 03:22:16 +02:00
2018-10-21 03:22:16 +02:00
2018-10-14 03:21:07 +02:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-26 07:56:50 +00:00
2018-10-25 10:21:44 +02:00
2018-10-26 09:44:13 +00:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-08-01 02:42:16 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-21 03:22:16 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-28 03:21:03 +01:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-25 10:21:44 +02:00
2018-10-28 03:21:03 +01:00
2018-10-14 03:21:07 +02:00
2018-10-25 10:21:44 +02:00