Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 72 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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