TIP: You can type at any time to perform a new search.
Base Tier Validation Formula
base_tier_validation_formula · OCA/tier-validation
- Repository
- OCA/tier-validation · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Tools
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/tier-validation
- Last tracking update
- 2026-08-07 09:06:34
- Authors
- Odoo Community Association (OCA), Creu Blanca
- Maintainers
- Odoo Community Association (OCA), Creu Blanca
- Committers
- Maksym Yankin, Weblate, OCA-git-bot, oca-ci, bosd
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
tier_definition_view_form |
tier.definition.form | tier.definition | form | Inherits base_tier_validation.tier_definition_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (4)
-
definition_typeSelectionselection_add=[('formula', 'Formula'), ('domain_formula', 'Domain & Formula')] -
python_codeTextdefault='# 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_typeSelectionselection_add=[('expression', 'Python Expression')] -
reviewer_expressionTextdefault='# 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'
-
onchange_review_type(self)@api.onchange('review_type')
New fields (1)
-
python_reviewer_idsMany2many → res.userscolumn1='tier_review_id'column2='user_id'comodel_name='res.users'compute='_compute_python_reviewer_ids'relation='tier_review_python_reviewer_rel'store=Truestring='Reviewers from Python expression'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
evaluate_formula_tier(self, tier) -
evaluate_tier(self, tier)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…