Quality Control - Control Plan
quality_control_plan · OCA/manufacture
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 72 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
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.08 MB
Module directory on disk
Code analysis
3 migration notes
12 models
9 views
0 HTTP endpoints
Migration considerations
QcInspection— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockPicking— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceview_tree_plan— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · 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 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
qc_inspection_qty_checked |
qc.inspection.qty.checked | qc.inspection | form | Inherits quality_control.qc_inspection_form_view |
view_form_level |
QC level | qc.level | form | New |
view_form_plan |
QC plan | qc.plan | form | New |
view_mgmtsystem_nonconformity_inspection |
view.mgmtsystem.nonconformity.inspection | mgmtsystem.nonconformity | form | Inherits mgmtsystem_nonconformity.view_mgmtsystem_nonconformity_form |
view_mgmtsystem_nonconformity_partner |
view.mgmtsystem.nonconformity.partner | res.partner | form | Inherits base.view_partner_form |
view_product_category_plan |
view.product.category.plan | product.category | form | Inherits quality_control.product_category_qc_form_view |
view_product_template_plan |
view.product.template.plan | product.template | form | Inherits product.product_template_only_form_view |
view_tree_level |
view.tree.level | qc.level | tree | New |
view_tree_plan |
view.tree.plan | qc.plan | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 12
New fields (1)
-
inspection_idMany2one → qc.inspectionargs: 'qc.inspection', 'Inspection'
No public methods.
New fields (3)
-
inspection_idsOne2many → mgmtsystem.nonconformityargs: 'mgmtsystem.nonconformity', 'inspection_id', 'Nonconformity' -
plan_idMany2one → qc.planargs: 'qc.plan', 'Control Plan' -
qty_checkedFloatargs: 'Quantity checked'
-
create(self, values)@api.modelExtends inspection method by integrating logic to determine the control plan to be used and the calculation of the quantity to be checked -
create_nonconformity(self, **kwargs)@api.multiOpens nonconformity form view prefilled with inspection data
New fields (4)
-
chk_typeSelectiondefault='absolute'help='Indicate how to use quantity checked value' args: [('absolute', 'Absolute value'), ('percent', 'Percent')], 'Measure' -
plan_idMany2one → qc.planrequired=True args: 'qc.plan', 'Plan' -
qty_checkedFloathelp='Quantity to check if the received goods is higher than the reference' args: 'Quantity checked' -
qty_receivedFloathelp='Minimum received quantity reference' args: 'Quantity to inspect'
No public methods.
New fields (4)
-
descriptionCharargs: 'Description' -
free_passBooleanargs: 'Free pass' -
nameCharrequired=True args: 'Name' -
plan_idsOne2many → qc.levelargs: 'qc.level', 'plan_id', 'Plan'
-
create(self, vals)@api.modelAvoids multiple free pass plans -
on_change_free_pass(self)@api.onchange('free_pass')Checks if there is only one free pass plan Sets the last changed to false if another one exists
New fields (2)
-
partnerMany2one → res.partnercomodel_name='res.partner' -
plan_idMany2one → qc.planrequired=True args: 'qc.plan', 'Plan'
No public methods.
New fields (2)
-
partnerMany2one → res.partnercomodel_name='res.partner' -
plan_idMany2one → qc.planrequired=True args: 'qc.plan', 'Plan'
No public methods.
New fields (1)
-
plan_idMany2one → qc.planargs: 'qc.plan', 'Plan'
No public methods.
New fields (1)
-
plan_idMany2one → qc.planargs: 'qc.plan', 'Plan'
No public methods.
New fields (1)
-
plan_idMany2one → qc.planargs: 'qc.plan', 'Plan'
No public methods.
New fields (1)
-
plan_idMany2one → qc.planargs: 'qc.plan', 'Plan'
No public methods.
New fields (1)
-
qc_triggersOne2many → qc.trigger.partner_linecomodel_name='qc.trigger.partner_line'inverse_name='partner'string='Quality control triggers'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_done(self)@api.multiExtend actions on done stock move adding inspection defined on Partner