diff options
| author | oco-odoo <oco@odoo.com> | 2020-05-18 08:48:32 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-05-19 16:03:11 +0000 |
| commit | e33e6682137c5a6ca1623f0ae54d184de1f1b443 (patch) | |
| tree | f4adf8fb3751fcac80342eda61d093201bccab9c /addons/web/static/lib | |
| parent | 63987cfea2b7ee786d9f29143dd8051e7d4c0c29 (diff) | |
[FIX] account: don't depend on price_subtotal to compute amount_by_group
price_subtotal and price_unit shouldn't be used on tax lines. While it might seem to be always set by the code on those lines, it is not intended to work this way ; which is why migration scripts sometimes let those fields blank on such lines. Before this fix, such migrated databases always had a tax amount of 0 shown in amount_by_group, which was of course wrong.
closes odoo/odoo#51563
X-original-commit: d3b810de3680acba3e2587111f58a33ad5c29fb6
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/lib')
0 files changed, 0 insertions, 0 deletions
