odoo/odoo#245243
Created by Smit Joshi (smjo)
Merged
at 3eb0c4eabfd1a56578a82690d087a655523ac141
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: (runtime 1591s)
- 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 15s)
Linked pull requests
- label
- odoo-dev:saas-18.3-prevent-tax-grp-deletion-if-used-smjo
- head
- f05ac78f6b3a66bd9452d0399d915cc51aa263db
- merged
- 5 days ago by Accounting, Josse Colpaert (jco)
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| saas-18.3 | #245243 | #105174 |
| saas-18.4 | #254730 | #111198 |
| 19.0 | #254939 | #111365 |
| saas-19.1 | #254954 | #111378 |
| saas-19.2 | #254961 | #111384 |
| master | #255056 | #111433 |
[FIX] account: block deletion of used tax groups
Before this PR:
- Group of taxes can be deleted by a user, even if they are used.
After this PR:
- If a user tries to delete a group of taxes in use, a validation
error is raised.
- Fixed a test case in POS and deactivated the tax instead of
deleting the tax.
Related PR: odoo/enterprise#105174