Skip to content

[20.0][MIG] account_move_tier_validation_approver_group: Migration to 20.0 - #112

Draft
astirpe wants to merge 4 commits into
OCA:20.0from
astirpe:20_mig_account_move_tier_validation_approver_group
Draft

astirpe wants to merge 4 commits into
OCA:20.0from
astirpe:20_mig_account_move_tier_validation_approver_group

Conversation

@astirpe

@astirpe astirpe commented Oct 22, 2026

Copy link
Copy Markdown
Member

Depends on #94, #95 and #111 (see test-requirements.txt). Ported from OCA/account-invoicing#2008 (18.0).

Changes compared to the 18.0 PR:

Fix the compute clearing approver_id instead of approver_group_id.
Fix the setting being linked to the individual approver option.
Fix the group tier definition taking its active state from the individual option.
Use the _check_has_approver() hook instead of a second _post() override. A bill can now be posted with a user OR a group.
The default group tier only applies when a group is set.
Add a search filter, tests and a new readme.

@OCA-git-bot OCA-git-bot added series:20.0 mod:account_move_tier_validation_approver_group Module account_move_tier_validation_approver_group labels Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_move_tier_validation_approver_group Module account_move_tier_validation_approver_group series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants