diff options
| author | Jigar Vaghela <jva@odoo.com> | 2019-11-20 12:44:25 +0000 |
|---|---|---|
| committer | Jigar Vaghela <jva@odoo.com> | 2019-12-04 10:41:06 +0000 |
| commit | 616864e9680741dbbd2ffd59b5af871ef3439845 (patch) | |
| tree | 80f94bbb5814821b56cc3795b6093a5bbba52155 /addons/web/static/src/xml/debug.xml | |
| parent | 087131fe54ad6a49a38cf2193f44cc1da27e78ab (diff) | |
[FIX] l10n_in: Fix tax grouping key
tax grouping key from base and tax line that will be used as a key to group taxes together
so both functions must have the same dictionary key. (you can check comment here https://github.com/odoo/odoo/blob/13.0/addons/account/models/account_move.py#L412)
here we have three key (product_id,product_uom_id,quantity) in _get_tax_grouping_key_from_base_line
and only one key (product_id) in _get_tax_grouping_key_from_tax_line
so we get wrong tax calculation
now we remove that extra key(product_uom_id, quantity) because we don't need group by these key values.
closes odoo/odoo#41340
X-original-commit: a758e5eace55bad0c11f8a27ba83e8367d293487
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
