summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2020-12-02 13:30:14 +0000
committeroco-odoo <oco@odoo.com>2020-12-10 15:34:03 +0000
commit6b6387e88232928e67cb36b74371be72a3b4c441 (patch)
tree06baa1db8e7c27bbd4ae79ba6b61dc3c9b8f1809 /doc/reference/javascript_reference.rst
parent597585c9b8b1350bcfd84e8433ea6c82060bcc3d (diff)
[IMP] l10n_de: add a logic for the different accounts according to tax rates
Before, when only invoicing is installed (e.g. in case of the PoS), a not so easy to surpass error would be triggered when using products with a lower tax rate, e.g. drinks are only at 7% instead of 19%. Because there is a constraint, upon validation of the invoice, that the accounts used must correspond with the tax rate and you can not set a specific account in case of only invoicing, an error will be raised when you try to validate the generated invoice. We solve it by inheriting the method searching for the product accounts and when no income/expense account on the product is set, but a tax is, to suggest the account corresponding to the tax and its rate if it would suggest a wrong account. closes odoo/odoo#62743 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions