Denis Ledoux
fc813847d8
[FIX] account: wrong counterpart in invoice / out refund register payment
...
Revision 20935462a0
introduces the below regression:
When registering a payment on a customer invoice refund
or a vendor bill, with a payment difference
e.g. payment of 101 for an invoice of 100
and marking the invoice as fully paid,
the counter part in the payment account move
were wrongly computed:
In those cases,
its the payment total minus the invoice residual total
that must be performed, and not the other way around.
This revision solves this, inspired on how
the payment difference is computed for display
in the wizard on how it was before the above revision,
in the method `_compute_payment_difference`
Fixes #15000
2017-01-10 16:49:21 +01:00
..
2017-01-10 16:49:21 +01:00
2016-11-20 02:58:43 +01:00
2016-12-16 11:23:18 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-12-11 02:58:13 +01:00
2016-11-27 02:57:09 +01:00
2017-01-10 15:09:24 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2016-12-07 08:43:11 +01:00
2017-01-08 00:29:28 +01:00
2016-11-27 00:32:17 +01:00
2017-01-01 00:30:05 +01:00
2017-01-02 11:22:45 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 02:58:43 +01:00
2016-12-04 02:57:30 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2017-01-09 16:36:00 +01:00
2017-01-08 00:29:28 +01:00
2016-12-04 02:57:30 +01:00
2017-01-08 00:29:28 +01:00
2016-12-11 00:33:19 +01:00
2017-01-08 00:29:28 +01:00
2017-01-03 13:12:17 +01:00
2017-01-01 02:58:08 +01:00
2016-12-04 02:57:30 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-11-27 00:32:17 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2017-01-01 00:30:05 +01:00
2016-12-18 02:58:16 +01:00
2017-01-01 02:58:08 +01:00
2017-01-02 11:42:52 +01:00
2016-11-20 02:58:43 +01:00
2017-01-01 00:30:05 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2016-12-04 00:32:08 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2016-12-11 02:58:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-02 11:42:52 +01:00
2017-01-01 02:58:08 +01:00
2016-12-11 00:33:19 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2016-11-17 13:11:04 +01:00
2016-12-04 00:32:08 +01:00
2016-11-17 13:11:04 +01:00
2016-11-17 13:11:04 +01:00
2016-11-17 13:11:04 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-08-03 10:57:54 +02:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 00:30:05 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 02:58:43 +01:00
2017-01-01 02:58:08 +01:00
2016-12-20 12:13:47 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-12-04 02:57:30 +01:00
2016-11-20 02:58:43 +01:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-11-20 00:39:36 +01:00
2016-11-20 02:58:43 +01:00
2017-01-05 13:01:11 +01:00
2016-10-03 11:06:37 +02:00
2016-11-20 00:39:36 +01:00
2016-11-27 02:57:09 +01:00
2016-07-27 19:41:50 +02:00
2016-11-20 02:58:43 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-10-03 11:06:37 +02:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-11-27 02:57:09 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 02:58:43 +01:00
2016-12-19 18:32:06 +01:00
2016-08-03 10:57:54 +02:00
2016-11-20 00:39:36 +01:00
2017-01-01 02:58:08 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-12-09 12:02:31 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 02:58:43 +01:00
2016-11-20 00:39:36 +01:00
2016-11-27 02:57:09 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2016-11-20 00:39:36 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2017-01-01 02:58:08 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2017-01-02 11:22:45 +01:00
2016-11-27 02:57:09 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-12-04 02:57:30 +01:00
2017-01-02 18:35:41 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-12-11 00:33:19 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-02 11:42:52 +01:00
2016-12-11 00:33:19 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-02 11:42:52 +01:00
2016-12-25 00:30:02 +01:00
2016-12-11 00:33:19 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2016-11-20 02:58:43 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2016-12-11 02:58:13 +01:00
2016-12-11 00:33:19 +01:00
2017-01-01 00:30:05 +01:00
2016-12-04 00:32:08 +01:00
2016-12-11 00:33:19 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2016-12-25 00:30:02 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2016-12-25 00:30:02 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-12-04 02:57:30 +01:00
2016-12-11 02:58:13 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2016-11-20 00:39:36 +01:00
2017-01-08 00:29:28 +01:00
2016-11-27 00:32:17 +01:00
2016-11-28 10:20:38 +01:00
2016-12-04 02:57:30 +01:00
2017-01-03 17:01:47 +01:00
2017-01-01 00:30:05 +01:00
2016-12-04 00:32:08 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-12-04 00:32:08 +01:00
2016-11-20 02:58:43 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 02:58:43 +01:00
2016-12-04 00:32:08 +01:00
2016-11-20 00:39:36 +01:00
2016-12-25 00:30:02 +01:00
2016-12-25 02:57:37 +01:00
2017-01-09 15:03:29 +01:00
2016-12-04 02:57:30 +01:00
2016-11-20 02:58:43 +01:00
2017-01-10 08:31:38 +01:00
2016-12-11 00:33:19 +01:00
2016-12-11 00:33:19 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2016-11-20 00:39:36 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2016-11-20 00:39:36 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-08 00:29:28 +01:00
2016-11-22 11:29:08 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00
2016-12-11 02:58:13 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 00:30:05 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 02:58:08 +01:00
2016-12-11 02:58:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 00:30:05 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-11-20 00:39:36 +01:00
2017-01-08 00:29:28 +01:00
2017-01-01 00:30:05 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-12-11 00:33:19 +01:00
2017-01-02 11:42:52 +01:00
2017-01-08 00:29:28 +01:00
2017-01-08 00:29:28 +01:00
2016-12-25 00:30:02 +01:00