odoo/odoo#202281
Created by fw-bot
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 1s)
- label
- odoo-dev:17.0-16.0-fix_caba_pos_tax_report-svfu-422998-fw
- head
- 8e08385d2b703a5436df3eadc7b5bf9cee3c20df
- merged
- 7 months ago by Accounting, Sven Führ (svfu)
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| 16.0 | #201812 | #81505 |
| 17.0 | #202281 | #81666 |
| saas-17.4 | #202308 | #81685 |
| 18.0 | #202479 | #81747 |
| saas-18.1 | #202612 | #81795 |
| saas-18.2 | #202621 | #81803 |
| saas-18.3 | ||
| saas-18.4 | ||
| 19.0 | ||
| master | #202625 | #81806 |
[FW][FIX] point_of_sale: proper handling of caba taxes
We do not create create caba moves anymore for PoS session closing moves.
(See commits 2f62d5c0d78371be70586c79cb2b5931e733b042 and 66e3696b4f06c657ff71af30178f0ac69d552632)
But now there are 2 issues when using (only) caba taxes in a PoS session.
(1) The closing move does not appear on the tax report.
(2) The closing move line do not get the right tax tags (they do not have any).
Issue (1) is solved by making pos closing moves always_tax_exigible.
(In case they did not creat cash basis entries; for backwards compatibility).
Issue (2) is solved by telling the tax computation for the lines to include caba taxes
(instead of just changing the account to be the "final" account and not
the caba transition account).
Forward-Port-Of: #201812