Repository
OCA/tier-validation · module folder · Try on Runboat
Module version
1.0.0
Category
Tools
Folder size
0.09 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), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/tier-validation:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
This module add an advance option to base_tier_validation.

- To allow "Forward" the tier to different user.

**Sample use case:**

A user is appointed to approve a tire, but he/she don't want to make
decision for some reason, and want to pass/forward the decision to
another person.

User can then click on Forward instead of Approve. A new tier with minor
sequence will be created on the reviewer table, and new user will be
able to make approval decision.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
tier_definition_view_form tier.definition.form tier.definition form Inherits base_tier_validation.tier_definition_view_form
tier_validation_label_forward tier_validation_label_forward ir.ui.view qweb Inherits base_tier_validation.tier_validation_label
view_forward_wizard Forward Wizard tier.validation.forward.wizard form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • add_comment(self)

New fields (1)
  • has_forward Boolean
    default=False help="Allow option to 'Forward' to different person." string='Allow Forward'
Public methods (0)

No public methods.

New fields (8)
  • approve_sequence Boolean
    compute='_compute_definition_data' store=True
  • has_comment Boolean
    compute='_compute_definition_data' store=True
  • name Char
    compute='_compute_definition_data' related=False store=True translate=True
  • review_type Selection
    compute='_compute_definition_data' store=True
  • reviewer_group_id Many2one → res.groups
    comodel_name='res.groups' compute='_compute_definition_data' store=True
  • reviewer_id Many2one → res.users
    comodel_name='res.users' compute='_compute_definition_data' store=True
  • sequence Integer
  • status Selection
    selection_add=[('forwarded', 'Forwarded')]
Public methods (0)

No public methods.

New fields (1)
  • can_forward Boolean
    compute='_compute_can_forward'
Public methods (1)
  • forward_tier(self)

New fields (6)
  • approve_sequence Boolean
    default=True string='Approve by sequence'
  • forward_description Char
  • forward_reviewer_id Many2one → res.users
    comodel_name='res.users' required=True string='Next Reviewer'
  • has_comment Boolean
    default=True string='Allow Comment'
  • res_id Integer
  • res_model Char
Public methods (1)
  • add_forward(self)
    Add extra step, with specific reviewer

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…