Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 1 migration note 5 models 3 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
OCA/tier-validation:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…