diff options
| author | Laurent Smet <las@openerp.com> | 2020-03-04 07:55:25 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-03-12 10:31:47 +0000 |
| commit | 69ad4c86364a38a09d74d6424aef758365f42407 (patch) | |
| tree | f3cfd62a8e37c70d6aa0229f794b51fb47fe6663 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 4818bb48b1d142dbe6d69337a770f5c6a01de0aa (diff) | |
[FIX] account: Avoid removing tax from line on recomputation
Steps to reproduce the bug:
- Let's consider a company C with Belgian chart of accounts
- Let's consider a product P with 21% of Tax at 100€
- Go to POS and create an order O for P
- Pay O and close the POS
- Open the journal entry JE of O
- Reset to draft JE and change the Analytic Tags of the 100€ credit line
Bug:
The Tax grids of the 21€ credit line was removed.
PS: This fix avoids the recomputation of taxes when adding analytics tags
closes: #46827
opw-2189255
closes odoo/odoo#47471
X-original-commit: 8c93d6092928f8190f6897b772fe44c0728879c7
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Co-authored-by: bve-odoo <bve@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
