Repository
OCA/manufacture · module folder · Try on Runboat
Module version
1.0.0
Category
Quality control
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://gitlab.com/PNLUG/Odoo/management-system-improvements/tree/11.0/quality_control_plan
Last tracking update
2026-08-07 07:24:56
Authors
Odoo Community Association (OCA), Associazione PNLUG - Gruppo Odoo
Maintainers
Odoo Community Association (OCA), Associazione PNLUG - Gruppo Odoo
Committers
Weblate, OCA-git-bot, oca-travis, Stefano Consolaro
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
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_id Many2one → qc.inspection
    args: 'qc.inspection', 'Inspection'
Public methods (0)

No public methods.

New fields (3)
  • inspection_ids One2many → mgmtsystem.nonconformity
    args: 'mgmtsystem.nonconformity', 'inspection_id', 'Nonconformity'
  • plan_id Many2one → qc.plan
    args: 'qc.plan', 'Control Plan'
  • qty_checked Float
    args: 'Quantity checked'
Public methods (2)
  • create(self, values)
    @api.model
    Extends 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.multi
    Opens nonconformity form view prefilled with inspection data

New fields (4)
  • chk_type Selection
    default='absolute' help='Indicate how to use quantity checked value' args: [('absolute', 'Absolute value'), ('percent', 'Percent')], 'Measure'
  • plan_id Many2one → qc.plan
    required=True args: 'qc.plan', 'Plan'
  • qty_checked Float
    help='Quantity to check if the received goods is higher than the reference' args: 'Quantity checked'
  • qty_received Float
    help='Minimum received quantity reference' args: 'Quantity to inspect'
Public methods (0)

No public methods.

New fields (4)
  • description Char
    args: 'Description'
  • free_pass Boolean
    args: 'Free pass'
  • name Char
    required=True args: 'Name'
  • plan_ids One2many → qc.level
    args: 'qc.level', 'plan_id', 'Plan'
Public methods (2)
  • create(self, vals)
    @api.model
    Avoids 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)
  • partner Many2one → res.partner
    comodel_name='res.partner'
  • plan_id Many2one → qc.plan
    required=True args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (2)
  • partner Many2one → res.partner
    comodel_name='res.partner'
  • plan_id Many2one → qc.plan
    required=True args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (1)
  • plan_id Many2one → qc.plan
    args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (1)
  • plan_id Many2one → qc.plan
    args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (1)
  • plan_id Many2one → qc.plan
    args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (1)
  • plan_id Many2one → qc.plan
    args: 'qc.plan', 'Plan'
Public methods (0)

No public methods.

New fields (1)
  • qc_triggers One2many → qc.trigger.partner_line
    comodel_name='qc.trigger.partner_line' inverse_name='partner' string='Quality control triggers'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_done(self)
    @api.multi
    Extend actions on done stock move adding inspection defined on Partner