diff options
| author | Goffin Simon <sig@odoo.com> | 2016-10-27 12:51:44 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-10-31 11:55:49 +0100 |
| commit | d40631463822a4d39662bd02de9a6a62f4af687a (patch) | |
| tree | 21efb644b7ff96e1c1c501e24052e72974e411c7 /addons/web/static/src/js/framework/data_model.js | |
| parent | c340284a60d9a1901ea25f2899669f03eab5502b (diff) | |
[FIX] account_voucher: Wrong reconciliation of customer payments
Steps to reproduce :
1. Create a new customer
2. Create an invoice with an amount of 50.- for this new customer and validate it
3. Create a refund with an amount of 70.- for the same customer and validate it
4. Create a Customer Payment for this customer and validate it. The Invoice will be paid with 50.- of the refund. 20.- are still on residual in the refund.
5. Create a new invoice with an amount of 50.- for the same customer.
6. Create a new Customer Payment for the same Customer and validate it.
The Full Reconcile Boolean stays checked inspite of "Open Balance" of Refund amount is less than the Invoice amount.
After the fix:
Full Reconciliation Boolean doesn't get checked and Allocation amount on invoice journal item line should be same
as Open balance of the Refund Journal Item. So Invoice stays open with Balance amount.
opw:691577
Diffstat (limited to 'addons/web/static/src/js/framework/data_model.js')
0 files changed, 0 insertions, 0 deletions
