Base Tier Validation Formula

base_tier_validation_formula
REPOSITORY
REPOSITORYOCA/tier-validation
GIT
GIThttps://github.com/OCA/tier-validation.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/tier-validation/tree/19.0/base_tier_validation_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Maksym Yankin
WEBSITE
WEBSITEhttps://github.com/OCA/tier-validation
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/tier-validation:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module includes the ability to define the tier definition domain
and the tier reviewers using python code.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/18.0/base_tier_validation_formula
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, abdessamad salim
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module includes the ability to define the tier definition domain
and the tier reviewers using python code.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/17.0/base_tier_validation_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sonhd91
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module includes the ability to define the tier definition domain
and the tier reviewers using python code.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/16.0/base_tier_validation_formula
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSGitHub, Weblate, OCA-git-bot, oca-ci, Maksym Yankin, bosd
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/15.0/base_tier_validation_formula
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Jasmin Solanki, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/14.0/base_tier_validation_formula
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, OCA Transbot, sergio-teruel, oca-travis, Weblate, OCA-git-bot, Kitti U
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/13.0/base_tier_validation_formula
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSmreficent, Enric Tobella, OCA Transbot, sergio-teruel, oca-travis, Weblate, OCA-git-bot, ps-tubtim, =
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    column1='tier_review_id' column2='user_id' comodel_name='res.users' compute='_compute_python_reviewer_ids' relation='tier_review_python_reviewer_rel' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
  • evaluate_tier(self, tier)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/12.0/base_tier_validation_formula
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSGitHub, Lois Rilo, OCA Transbot, oca-travis, OCA-git-bot, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record\nTrue' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users\nrec.env.user' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    comodel_name='res.users' compute='_compute_python_reviewer_ids' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
    @api.multi
  • evaluate_tier(self, tier)
    @api.multi
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/11.0/base_tier_validation_formula
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSGitHub, Enric Tobella, OCA Transbot, oca-travis, OCA-git-bot, hveficent
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation
odoo/odoo:
    - web
    - base
    - bus
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition xpath Inherits base_tier_validation.tier_definition_view_form
Models touched (3)

New fields (4)
  • definition_type Selection
    selection_add=[('formula', 'Formula')]
  • python_code Text
    default='# Available locals:\n# - rec: current record' help='Write Python code that defines when this tier confirmation will be needed. The result of executing the expresion must be a boolean.' string='Tier Definition Expression'
  • review_type Selection
    selection_add=[('expression', 'Python Expression')]
  • reviewer_expression Text
    default='# Available locals:\n# - rec: current record\n# - Expects a recordset of res.users' help='Write Python code that defines the reviewer. The result of executing the expression must be a res.users recordset.' string='Review Expression'
Public methods (1)
  • onchange_review_type(self)
    @api.onchange('review_type')

New fields (1)
  • python_reviewer_ids Many2many → res.users
    comodel_name='res.users' compute='_compute_python_reviewer_ids' store=True string='Reviewers from Python expression'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • evaluate_formula_tier(self, tier)
    @api.multi
  • evaluate_tier(self, tier)
    @api.multi