Quality control - Stock (OCA)

quality_control_stock_oca
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/18.0/quality_control_stock_oca
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC, Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC, Agile Business Group
COMMITTERS
COMMITTERSAaronHForgeFlow, Weblate, OCA-git-bot, oca-ci, Dante Pereyra // Solvos
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module defines triggers that creates inspections when stock moves
are done.

It also adds some shortcuts on picking and lots to these inspections.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
qc_trigger_form_view qc.trigger.form qc.trigger xpath Inherits quality_control_oca.qc_trigger_form_view
qc_trigger_tree_view qc.trigger.form qc.trigger xpath Inherits quality_control_oca.qc_trigger_tree_view
stock_lot_qc_view stock.lot.qc.view stock.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking div Inherits stock.view_picking_form
Models touched (7)

New fields (3)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
  • picking_origin Char
    related='picking_id.origin' string='Picking Source Document'
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (2)
  • inspection_per_lot Boolean
    help='If checked, an inspection per used lot/serial number will be created in stock pickings.'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade'
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • trigger_inspection(self, timings, partner=False)
  • write(self, vals)

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (2)
  • action_cancel(self)
  • trigger_inspections(self, timings)
    Triggers the creation of or an update on inspections for attached stock moves :param: timings: list of timings among 'before', 'after' and 'plan_ahead'

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/17.0/quality_control_stock_oca
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC, Agile Business Group
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC, Agile Business Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, LauraCForgeFlow, Antoni Marroig Campomar, Manuel Regidor
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module defines triggers that creates inspections when stock moves
are done.

It also adds some shortcuts on picking and lots to these inspections.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
qc_trigger_form_view qc.trigger.form qc.trigger xpath Inherits quality_control_oca.qc_trigger_form_view
qc_trigger_tree_view qc.trigger.form qc.trigger xpath Inherits quality_control_oca.qc_trigger_tree_view
stock_lot_qc_view stock.lot.qc.view stock.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking div Inherits stock.view_picking_form
Models touched (7)

New fields (2)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (2)
  • inspection_per_lot Boolean
    help='If checked, an inspection per used lot/serial number will be created in stock pickings.'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade'
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • trigger_inspection(self, timings, partner=False)
  • write(self, vals)

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (2)
  • action_cancel(self)
  • trigger_inspections(self, timings)
    Triggers the creation of or an update on inspections for attached stock moves :param: timings: list of timings among 'before', 'after' and 'plan_ahead'

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/16.0/quality_control_stock_oca
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, Dimitrios T. Tanis, oca-ci, Aungkokolin1997, LauraCForgeFlow, Kev-Roche, Adasat Torres de León
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
qc_trigger_form_view qc.trigger.form qc.trigger xpath Inherits quality_control_oca.qc_trigger_form_view
qc_trigger_tree_view qc.trigger.tree qc.trigger xpath Inherits quality_control_oca.qc_trigger_tree_view
stock_lot_qc_view stock.lot.qc.view stock.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking sheet Inherits stock.view_picking_form
Models touched (7)

New fields (3)
  • is_mandatory_to_validate Boolean
    compute='_compute_is_mandatory_to_validate'
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (2)
  • is_mandatory_to_validate Boolean
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade' readonly=True
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • trigger_inspection(self, timings, partner=False)
  • write(self, vals)

New fields (6)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • inspection_required_message Html
    compute='_compute_inspection_required_message' readonly=True
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (2)
  • action_cancel(self)
  • trigger_inspections(self, timings)
    Triggers the creation of or an update on inspections for attached stock moves :param: timings: list of timings among 'before', 'after' and 'plan_ahead'

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/15.0/quality_control_stock_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, David Alonso // Solvos
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:36
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
stock_lot_qc_view stock.production.lot.qc.view stock.production.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking div Inherits stock.view_picking_form
Models touched (6)

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade' readonly=True
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/14.0/quality_control_stock_oca
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, sergiocorato, Davor Bojkić, Enrique Martín, Jon Erik Ceberio, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
stock_lot_qc_view stock.production.lot.qc.view stock.production.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking div Inherits stock.view_picking_form
Models touched (6)

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade' readonly=True
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/13.0/quality_control_stock_oca
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYQuality control
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Agile Business Group, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, oca-travis, Weblate, OCA-git-bot, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - quality_control_oca
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
qc_inspection_form_view_picking qc.inspection.form.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_form_view
qc_inspection_line_search_stock_view qc.inspection.line.search.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_search_view
qc_inspection_line_tree_stock_view qc.inspection.line.tree.stock qc.inspection.line field Inherits quality_control_oca.qc_inspection_line_tree_view
qc_inspection_search_view_picking qc.inspection.search.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_search_view
qc_inspection_tree_view_picking qc.inspection.tree.view.picking qc.inspection field Inherits quality_control_oca.qc_inspection_tree_view
stock_lot_qc_view stock.production.lot.qc.view stock.production.lot div Inherits stock.view_production_lot_form
stock_picking_qc_view stock.picking.qc.view stock.picking div Inherits stock.view_picking_form
Models touched (6)

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' compute='_compute_lot' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' compute='_compute_picking' store=True
Public methods (2)
  • object_selection_values(self)
  • onchange_object_id(self)
    @api.onchange('object_id')

New fields (2)
  • lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' related='inspection_id.lot_id' store=True
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking' related='inspection_id.picking_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' ondelete='cascade' readonly=True
Public methods (0)

No public methods.

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this picking.' inverse_name='picking_id' string='Inspections'
Public methods (1)
  • action_done(self)

New fields (0)

No new fields.

Public methods (2)
  • create(self, val_list)
    @api.model_create_multi
  • write(self, vals)

New fields (5)
  • created_inspections Integer
    compute='_compute_count_inspections' string='Created inspections'
  • done_inspections Integer
    compute='_compute_count_inspections' string='Done inspections'
  • failed_inspections Integer
    compute='_compute_count_inspections' string='Inspections failed'
  • passed_inspections Integer
    compute='_compute_count_inspections' string='Inspections OK'
  • qc_inspections_ids One2many → qc.inspection
    comodel_name='qc.inspection' copy=False help='Inspections related to this lot.' inverse_name='lot_id' string='Inspections'
Public methods (0)

No public methods.