summaryrefslogtreecommitdiff
path: root/addons/base_import_module/tests/test_module/static
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2020-05-13 12:21:43 +0000
committerGoffin Simon <sig@odoo.com>2020-05-14 06:48:25 +0000
commit2b8e405d7533ed5caa06320bcb6cd978a691aece (patch)
treef68c536b8bb724e6dd07fe08cde0a91df1d48b73 /addons/base_import_module/tests/test_module/static
parent5184eedc0edc0554571897b2f6acd8128f650ac3 (diff)
[FIX] account: Wrong base amount with included tax
Steps to reproduce the bug: Let's consider a company C with french accounting Create a new journal entry JE with one line L with debit = 100 and credit = 0 and account = 601100 Achats stockés - Matières premières ou groupe A) Set TVA déductible (achat) 20,0% TTC on JE (where this tax is included in price but not included in base amount) Bug: A new line is created on account 445660 TVA déductible sur autre bien et service with a debit = 16,67 instead of 20.0 and credit 0 Now with this fix, we consider that the amount encoded by the user is the base on which each taxes must be computed (instead of magically subtracting included tax from the base) opw:2244708 closes odoo/odoo#51219 X-original-commit: c9ce26534d2f8fa69068bfdbeb9994eb12d4124e Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/base_import_module/tests/test_module/static')
0 files changed, 0 insertions, 0 deletions