Skip to content

[20.0][IMP] account_move_tier_validation_approver: add hooks for approver check and tier definition values - #111

Open
astirpe wants to merge 18 commits into
OCA:20.0from
astirpe:20_imp_account_move_tier_validation_approver
Open

astirpe wants to merge 18 commits into
OCA:20.0from
astirpe:20_imp_account_move_tier_validation_approver

Conversation

@astirpe

@astirpe astirpe commented Oct 22, 2026

Copy link
Copy Markdown
Member

Depends on #109. Only the [IMP] commit before [DON'T MERGE] is new.

Adds two hooks, so other modules can extend this one:

  • _check_has_approver(): the check done when a vendor bill is posted.
  • _prepare_tier_approver_definition_values(): the values of the default
    "Validation with Approver field" tier definition.

There is no change in behavior.

This is needed by account_move_tier_validation_approver_group, which lets a
group of users approve vendor bills. The commit comes from
OCA/account-invoicing#2008 (18.0), by @kevinkhao.

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 Module account_move_tier_validation_approver series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants