Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 17 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 17.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.14 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module allows to create multiple manufacturing orders through a wizard. The wizard have the possiblity to put all manufacturing orders in state done or confirmed.

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 1

XML IDNameModelTypeStatus
wizard_mass_mrp_production_order Mass MRP Production Order mrp.mass.production.order.wizard form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (9)
  • bom_id Many2one → mrp.bom
    compute='_compute_bom_id' domain="[\n '&',\n '|',\n ('product_tmpl_id','=',product_id),\n '&',\n ('product_id.product_tmpl_id.product_variant_ids','=',product_id),\n ('product_id','=',False),\n ('type', '=', 'normal')]" help='Bills of Materials, also called recipes, are used to autocomplete components and work order instructions.' precompute=True readonly=False store=True args: 'mrp.bom', 'Bill of Material'
  • mrp_production_order_entry_id Many2one → mrp.mass.production.order.wizard
    args: 'mrp.mass.production.order.wizard', 'MRP production order entry'
  • product_consumed_id Many2one → product.product
    domain="[('type', 'in', ['consu']), ('id', '!=', product_id)]" args: 'product.product', 'Consumed Product'
  • product_id Many2one → product.product
    domain="[('type', 'in', ['consu'])]" required=True args: 'product.product', 'Manufactured Product'
  • product_qty Float
    default=1 digits='Product Unit of Measure' required=True args: 'Manufactured Quantity'
  • product_uom_category_id Many2one
    related='product_id.uom_id.category_id'
  • product_uom_id Many2one → uom.uom
    compute='_compute_uom_id' domain="[('category_id', '=', product_uom_category_id)]" precompute=True readonly=False required=True store=True args: 'uom.uom', 'Product Unit of Measure'
  • quantity Float
    default=1 digits='Product Unit of Measure' args: 'Consumed Quantity'
  • tag_ids Many2many → mrp.tag
    compute='_compute_tag_ids' precompute=True readonly=False store=True string='Tags' args: 'mrp.tag'
Public methods (0)

No public methods.

New fields (8)
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company', 'Company'
  • location_dest_id Many2one → stock.location
    compute='_compute_locations' domain="[('usage','=','internal')]" help='Location where the system will stock the finished products.' precompute=True readonly=False required=True store=True args: 'stock.location', 'Finished Products Location'
  • location_src_id Many2one → stock.location
    compute='_compute_locations' domain="[('usage','=','internal')]" help='Location where the system will look for components.' precompute=True readonly=False required=True store=True args: 'stock.location', 'Components Location'
  • mrp_production_order_entries One2many → mrp.mass.production.order.entry.wizard
    change_default=True args: 'mrp.mass.production.order.entry.wizard', 'mrp_production_order_entry_id', 'MRP production order entries'
  • picking_type_id Many2one → stock.picking.type
    default=_get_default_picking_type_id domain="[('code', '=', 'mrp_operation')]" required=True args: 'stock.picking.type', 'Operation Type'
  • produce_all Boolean
    default=True help='Check it if all orders have been produced otherwise they will be confirmed'
  • tag_ids Many2many → mrp.tag
    string='Tags' args: 'mrp.tag'
  • with_bom Boolean
    default=True help='Check this if you want to assign a bill of materials, otherwise products by line.'
Public methods (3)
  • action_create(self)
  • get_production_location(self, product_id)
  • onchange_tag_ids(self)
    @api.onchange('tag_ids')

Loading…

Loading…