Quality Control Issue
quality_control_issue · OCA/manufacture
Health
58/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 49 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.26 MB
Module directory on disk
Code analysis
11 migration notes
6 models
15 views
0 HTTP endpoints
Migration considerations
QcProblem— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceQualityControlIssue— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (9 methods) migration-api-multi-one · sourceqc.issue— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: state, inspector_id, responsible_id, stage_id, qc_team_id. migration-track-visibilityqc.problem— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: stage_id, qc_team_id. migration-track-visibilityqc_issue_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceqc_issue_stage_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceqc_issue_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceqc_problem_group_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceqc_problem_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceqc_stage_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcestock_scrap_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 15
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
qc_issue_form |
qc.issue.form | qc.issue | form | New |
qc_issue_kanban_view |
qc.issue.kanban | qc.issue | kanban | New |
qc_issue_search |
qc.issue.search | qc.issue | search | New |
qc_issue_stage_tree |
qc.issue.stage.tree | qc.issue.stage | tree | New |
qc_issue_tree |
qc.issue.tree | qc.issue | tree | New |
qc_problem_form |
qc.problem.form | qc.problem | form | New |
qc_problem_group_form |
qc.problem.group.form | qc.problem.group | form | New |
qc_problem_group_tree |
qc.problem.group.tree | qc.problem.group | tree | New |
qc_problem_kanban_view |
qc.problem.kanban | qc.problem | kanban | New |
qc_problem_search |
qc.problem.search | qc.problem | search | New |
qc_problem_tree |
qc.problem.tree | qc.problem | tree | New |
qc_stage_tree |
qc.stage.tree | qc.stage | tree | New |
qc_team_view_kanban |
qc.team.dashboard - quality_control_issue | qc.team | kanban | Inherits quality_control_team.qc_team_view_kanban |
stock_scrap_form_view |
stock.scrap.form - quality_control_issue | stock.scrap | form | Inherits stock.stock_scrap_form_view |
stock_scrap_form_view2 |
stock.scrap.form2 - quality_control_issue | stock.scrap | form | Inherits stock.stock_scrap_form_view2 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (18)
-
colorIntegerstring='Color Index' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
descriptionTextstates={'done': [('readonly', True)]} -
inspector_idMany2one → res.userscomodel_name='res.users'default=<expr>readonly=Truerequired=Truestates={'new': [('readonly', False)]}string='Inspector'track_visibility='onchange' -
location_idMany2one → stock.locationcomodel_name='stock.location'default=_get_default_location_idreadonly=Truestates={'new': [('readonly', False)]}string='Location' -
lot_idMany2one → stock.production.lotcomodel_name='stock.production.lot'readonly=Truestates={'new': [('readonly', False)]}string='Lot/Serial Number' -
nameCharreadonly=True -
product_idMany2one → product.productcomodel_name='product.product'readonly=Truerequired=Truestates={'new': [('readonly', False)]}string='Product' -
product_qtyFloatdefault=1.0digits=dp.get_precision('Product Unit of Measure')readonly=Truerequired=Truestates={'new': [('readonly', False)]}string='Product Quantity' -
product_trackingSelectionrelated='product_id.tracking' -
product_uomMany2one → uom.uomcomodel_name='uom.uom'default=_get_uomreadonly=Truerequired=Truestates={'new': [('readonly', False)]}string='Product Unit of Measure' -
qc_problem_idsMany2many → qc.problemcolumn1='qc_issue_id'column2='qc_problem_id'comodel_name='qc.problem'relation='qc_issue_problem_rel'states={'done': [('readonly', True)]}string='Problems' -
qc_team_idMany2one → qc.teamcomodel_name='qc.team'default=<expr>index=Truestring='QC Team'track_visibility='onchange' -
responsible_idMany2one → res.userscomodel_name='res.users'states={'done': [('readonly', True)]}string='Assigned to'track_visibility='onchange' -
stage_idMany2one → qc.issue.stagecomodel_name='qc.issue.stage'default=_get_default_stage_iddomain="['|', ('qc_team_id', '=', False), ('qc_team_id', '=', qc_team_id)]"group_expand='_read_group_stage_ids'index=Truestring='Stage'track_visibility='onchange' -
stateSelectiondefault='new'readonly=Trueselection=[('new', 'New'), ('progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancel')]track_visibility='onchange' -
stock_scrap_idsOne2many → stock.scrapcomodel_name='stock.scrap'inverse_name='qc_issue_id'string='Scraps' -
stock_scrap_qtyIntegercompute=_compute_stock_scrap_qty
-
action_cancel(self)@api.multi -
action_confirm(self)@api.multi -
action_done(self)@api.multi -
action_view_stock_scrap(self)@api.multi -
create(self, vals)@api.model -
issue_stage_find(self, cases, team, domain=None, order='sequence')Override of the base.stage method Parameter of the stage search taken from the problem: - team_id: if set, stages must belong to this team or be a default stage; if not set, stages must be default stages -
scrap_products(self)@api.multi -
write(self, vals)@api.multi
New fields (5)
-
foldBooleandefault=Falsehelp='This stage is folded in the kanban view when there are no records in that stage to display.'string='Folded in Pipeline' -
nameCharrequired=True args: 'Stage Name' -
qc_team_idMany2one → qc.teamcomodel_name='qc.team'ondelete='set null'string='Quality Control Team' -
sequenceIntegerdefault=1help='Used to order stages. Lower is better.'string='Sequence' -
stateSelectionselection=<expr>string='QC State'
-
default_get(self, fields)@api.modelHack : when going from the kanban view, creating a stage with a qc team in context should not create a stage for the current team only.
New fields (10)
-
colorIntegerstring='Color Index' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
issue_countIntegercompute=_compute_countstore=Truestring='Issues' -
issue_idsMany2many → qc.issuecolumn1='qc_problem_id'column2='qc_issue_id'comodel_name='qc.issue'relation='qc_issue_problem_rel'string='QC Issues' -
nameChar -
notesText -
prioritySelectiondefault='0'index=Trueselection=AVAILABLE_PRIORITIESstring='Rating' -
problem_group_idMany2one → qc.problem.groupcomodel_name='qc.problem.group'string='Problem Group' -
qc_team_idMany2one → qc.teamcomodel_name='qc.team'default=<expr>index=Truestring='QC Team'track_visibility='onchange' -
stage_idMany2one → qc.stagecomodel_name='qc.stage'default=_get_default_stage_iddomain="['|', ('qc_team_id', '=', False), ('qc_team_id', '=', qc_team_id)]"group_expand='_read_group_stage_ids'index=Truestring='Stage'track_visibility='onchange'
-
stage_find(self, cases, team, domain=None, order='sequence')Override of the base.stage method Parameter of the stage search taken from the problem: - team_id: if set, stages must belong to this team or be a default stage; if not set, stages must be default stages
New fields (3)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
nameChar -
problem_idsOne2many → qc.problemcomodel_name='qc.problem'inverse_name='problem_group_id'
No public methods.
New fields (4)
-
foldBooleandefault=Falsehelp='This stage is folded in the kanban view when there are no records in that stage to display.'string='Folded in Pipeline' -
nameCharrequired=True args: 'Stage Name' -
qc_team_idMany2one → qc.teamcomodel_name='qc.team'ondelete='set null'string='Quality Control Team' -
sequenceIntegerdefault=1help='Used to order stages. Lower is better.'string='Sequence'
-
default_get(self, fields)@api.modelHack : when going from the kanban view, creating a stage with a qc team in context should not create a stage for the current team only.
New fields (1)
-
qc_issue_idMany2one → qc.issuecomodel_name='qc.issue'string='Quality Control Issue'
No public methods.
Loading…
Loading…