Base Tier Validation Correction
base_tier_validation_correction · OCA/tier-validation
OCA/server-ux 14.0–18.0 → OCA/tier-validation 19.0
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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
-
review_idsMany2many → tier.reviewcomodel_name='tier.review'default=<expr>
No public methods.
-
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' -
document_domainChardefault='[]'help='Only include the documents matching this filter. Documents without a waiting or pending review are never included.'string='Documents' -
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' -
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)
-
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)
No new fields.
Public methods (1)-
view_tier_correction(self)
Loading…
Loading…
Loading…
Loading…