Skip to content

Conversation

@fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 19, 2025

We do not create create caba moves anymore for PoS session closing moves.
(See commits 2f62d5c and 66e3696)

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).

opw-4355124

Forward-Port-Of: #202479
Forward-Port-Of: #201812

We do not create create caba moves anymore for PoS session closing moves.
(See commits 2f62d5c and 66e3696)

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).

opw-4355124

X-original-commit: 3b57ea9
@robodoo
Copy link
Contributor

robodoo commented Mar 19, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 19, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 19, 2025

This PR targets saas-18.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Mar 19, 2025
robodoo pushed a commit that referenced this pull request Mar 20, 2025
We do not create create caba moves anymore for PoS session closing moves.
(See commits 2f62d5c and 66e3696)

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).

opw-4355124

closes #202621

X-original-commit: 3b57ea9
Related: odoo/enterprise#81803
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
Signed-off-by: Laurent Smet (las) <las@odoo.com>
@robodoo robodoo closed this Mar 20, 2025
@fw-bot fw-bot deleted the saas-18.2-16.0-fix_caba_pos_tax_report-svfu-424258-fw branch March 27, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants