Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.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
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 1 migration note 4 models 2 views 0 HTTP endpoints

Description

This module does the following:

  • Extends _prepare_subcontract_mo_vals() and adds the purchase order line reference to the subcontracted manufacturing orders.
  • Adds an action button in the purchase order form view to open related subcontracted manufacturing orders.

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 2

XML IDNameModelTypeStatus
mrp_production_form_view mrp.production.form mrp.production form Inherits mrp.mrp_production_form_view
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • purchase_line_id Many2one → purchase.order.line
    readonly=True args: 'purchase.order.line', 'Subcontract Purchase Order Line'
  • purchase_order_id Many2one → purchase.order
    readonly=True related='purchase_line_id.order_id' store=True args: 'purchase.order', 'Subcontract Purchase Order'
Public methods (0)

No public methods.

New fields (2)
  • subcontract_production_count Integer
    compute='_compute_subcontract_production_count'
  • subcontract_production_ids One2many → mrp.production
    readonly=True args: 'mrp.production', 'purchase_order_id', 'Subcontract Production Orders'
Public methods (1)
  • action_view_mrp(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…