Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 16.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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 2 views 0 HTTP endpoints

Description

This module enforces that each Manufacturing Order (MO) has a unique lot number for its finished products.

A lot generated by one MO cannot be reused in another MO, and this constraint is applied when validating the production.

Additionally, to improve user usability, the domain of the lot_producing_ids field has been updated to ensure only lot numbers that have not been used are selectable, only in case the product is tracked by lots.

In Odoo 20.0, lots created from the manufacturing order have no company, so lots without a company are also proposed on the manufacturing order.

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_unique_lot mrp.production.form.unique.lot mrp.production form Inherits mrp.mrp_production_form_view
view_picking_type_form_inherit_mrp_unique_lot Operation Types - Unique Production Lot stock.picking.type form Inherits mrp.view_picking_type_form_inherit_mrp

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • allowed_lot_producing_ids Many2many → stock.lot
    compute='_compute_allowed_lot_producing_ids' string='Allowed Lot/Serial Numbers' args: 'stock.lot'
  • force_lot_uniqueness Boolean
    related='picking_type_id.force_production_lot_uniqueness'
Public methods (0)

No public methods.

New fields (1)
  • force_production_lot_uniqueness Boolean
    help='If checked, each Manufacturing Order (MO) will have a unique lot number for its finished products. Therefore, lot numbers that have already been used in an MO cannot be reused.'
Public methods (0)

No public methods.

Loading…

Loading…