OdooWiki OCA HUB

Base Tier Validation - Server Action

base_tier_validation_server_action folder_open OCA/tier-validation open_in_new
Tools License: AGPL-3

This module add option to call "Server Action" when a tier definition is approved or rejected

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Extends tier validation so each approval step can automatically run a server action when it is approved or rejected, and can auto-approve itself when a condition is met.

This module adds extra options to each tier definition (approval step) in the tier validation configuration screen. On the tier definition form, in the options area, you now find two new fields: a "Post Approve Action" and a "Post Reject Action". Both let you pick a server action that Odoo will run automatically as soon as that step is approved or rejected.

It also adds an "auto validate" option with a condition field. When enabled, a scheduled job named "Automatic Tier Validation" runs every hour and checks waiting or pending reviews whose tier definition has auto validate turned on. If the record matches the condition, the review is approved automatically. The job uses the single matched reviewer as the validating user; if no reviewer is found it uses the system user, and if more than one reviewer matches it does not auto validate and logs a warning.

The module touches the tier definition configuration and the tier validation logic on any model that uses tier validation. It does not add new menus; the new fields appear inside the existing tier definition form.

Required by other modules

Models and fields (1)
  • tier.definition · extends an existing modelauto_validate, server_action_id (Post Approve Action), auto_validate_domain, rejected_server_action_id (Post Reject Action)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/server-ux.

terminal Installation and usage

OCA documentation · Odoo 19.0

On each Tier Definition

  • Choose server action you want to call as soon this definition is approved or rejected
  • Select "Auto Validate", if you want this definition to get validated by cron job based on "if pass condition" criteria,
  • If no user specified, use job's system user to validate
  • If 1 user matched as reviewer, use the user to validate
  • If \> 1 user matched as reviewer, do not auto validate

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.