TIP: You can type at any time to perform a new search.
Base Tier Validation Correction
base_tier_validation_correction · OCA/tier-validation
- Repository
- OCA/tier-validation · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.14 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
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module provide a new operation to correct the information in tier.review for any document under tier validation. For example, a document started validation, a tier review is assigned to Mr. Smith. However, since Mr. Smith has urgent business oversea for a few days, all document need to get approved by Mr. John as person in charge. This module allow user with Tier Review Correction role to change the reviewer to Mr. John. Note: Currently, only correction type available is to reassign the reviewer, but it is possible to add in the future.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
tier_correction_view_form |
tier.correction.form | tier.correction | form | New |
tier_correction_view_search |
tier.correction.search | tier.correction | search | New |
tier_correction_view_tree |
tier.correction.list | tier.correction | list | New |
tier_validation_label_forward |
tier_validation_label_forward | ir.ui.view | qweb | Inherits base_tier_validation.tier_validation_label |
view_affected_tier_reviews_form |
affected.tier.reviews.form | affected.tier.reviews | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
review_idsMany2many → tier.reviewcomodel_name='tier.review'default=<expr>
No public methods.
New fields (14)
-
correction_typeSelectiondefault='reviewer'required=Trueselection=[('reviewer', 'Reassign Reviewer(s)')] -
date_actual_correctDatetimecopy=Falsestring='Actual Correction Date' -
date_actual_revertDatetimecopy=Falsestring='Actual Revert Date' -
date_schedule_correctDatetimecopy=Falsestring='Scheduled Correction Date' -
date_schedule_revertDatetimecopy=Falsestring='Scheduled Revert Date' -
item_idsOne2many → tier.correction.itemcomodel_name='tier.correction.item'inverse_name='correction_id' -
modelCharindex=Truerelated='model_id.model'store=True -
model_idMany2one → ir.modelcomodel_name='ir.model'domain=<expr>string='On Model' -
nameCharrequired=Truestring='Description' -
new_reviewer_idsMany2many → res.userscomodel_name='res.users'help='Reassign these reviewers to the tier reviews of the found document'relation='tier_correction_new_reviewer_rel'string='Reassign Reviewer(s)' -
old_reviewer_idsMany2many → res.userscomodel_name='res.users'help='Find documents with tier reviews matching some reviewers'relation='tier_correction_old_reviewer_rel'string='Original Reviewer(s)' -
referenceCharcompute='_compute_reference'store=Truestring='Affected Documents' -
search_nameCharstring='Name Search' -
stateSelectioncopy=Falsedefault='draft'index=Trueselection=[('draft', 'Draft'), ('prepare', 'Preparing'), ('done', 'Corrected'), ('cancel', 'Cancelled'), ('revert', 'Reverted')]string='Status'tracking=1
-
action_cancel(self) -
action_done(self) -
action_draft(self) -
action_prepare(self) -
action_revert(self) -
do_correct(self) -
do_revert(self) -
search_document(self) -
view_scheduled_action(self)
New fields (7)
-
correction_idMany2one → tier.correctioncomodel_name='tier.correction'index=True -
new_reviewer_idsMany2many → res.userscomodel_name='res.users'help='These reviewers will overwrite the existing reviewer_ids in tier.review'relation='tier_correction_item_new_reviewer_rel'string='New Reviewers' -
referenceCharreadonly=True -
res_idIntegerreadonly=True -
res_modelCharreadonly=True -
resource_refReferencereadonly=Trueselection=<expr>string='Resource' -
review_idsMany2many → tier.reviewcomodel_name='tier.review'help='Tier reivews that will be affected by this correction.'string='Affected Tier Reviews'
-
correct(self) -
revert(self)
New fields (0)
No new fields.
Public methods (1)-
view_tier_correction(self)
Loading…
Loading…
Loading…