-
- Downloads
[FIX] l10n_in: quantity in tax and base grouping key create an issue
We need quantity in tax line and we added from this PR https://github.com/odoo/odoo/pull/73402 but after it creates a problem in tax amount because in tax line, the unit price is set base on quantity and by default is 1 but after PR 73402 it's the same as invoice line so rounding issue is there and this rounded amount is multiplay by quantity so this creates a big difference before PR 73402: Name | unit price | quantity | taxable amount | ===================================================== Product A | 5.55 | 8000 | 44400 | (invoice line) Tax 5.0% | 1 | 8000 | 2220 | ``` After PR 73402: Name | unit price | quantity | taxable amount | ===================================================== Product A | 5.55 | 8000 | 44400 | (invoice line) Tax 5.0% | 0.27 | 8000 | 2160 | So in this PR we remove quantity from grouping key closes odoo/odoo#74801 Signed-off-by:Josse Colpaert <jco@openerp.com>
Please register or sign in to comment