diff options
| author | Goffin Simon <sig@odoo.com> | 2017-04-05 14:01:22 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-04-11 14:15:39 +0200 |
| commit | 1dc361704e93bc9e8d82eb9a570c2ae9327181bb (patch) | |
| tree | 221703509be0ec62d89a64112c115c6efa77c1cb /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 8c326c5cc57bc9673d11926667f0deb41256bcff (diff) | |
[FIX] account: Making a refund with modified taxes
Step to reproduce the bug:
1.Create a product with a customer tax(15%) for a price=100
2.Create a customer invoice with this product
3.Change the amount of the tax to 10(instead of 15)
4.Validate the invoice
5.Click on "Refund invoice"
6.Select the refund method "Modify: create refund, reconcile
and create a new draft invoice"
Bug the new draft invoice has 15 as amount of tax
Now all the taxes from the invoice when preparing the refund in function
_prepare_refund, in this it keeps all the modified taxes.
opw:726491
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
