diff options
| author | Laurent Smet <las@odoo.com> | 2021-04-13 06:41:01 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2021-04-13 14:42:15 +0000 |
| commit | c8c68a07199124091e8d49946a63fb8c705c2417 (patch) | |
| tree | 876c3ca5396f878473c9888b4e1e23b3433019fe /addons/note/data/note_data.xml | |
| parent | 5b56dbfd8eb3284d670280f2e86a35ab10776e92 (diff) | |
[FIX] account,point_of_sale: Allow mixing 'affect base' price-included/price-excluded taxes
Before this commit, such configuration wasn't allowed.
However, in some countries, this is mandatory, when dealing with eco-tax for example:
Suppose t1, t2 being taxes where:
- t1 is include_base_amount, price_excluded, fixed tax of 10 (eco-tax)
- t2 is include_base_amount, price_included, percent of 21%
The computation on 1210 should be:
price_excluded: 1210 / 1.21 = 1000
price_included: (1000 + 10) * 1.21 = 1222.1
closes odoo/odoo#69184
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions
