Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 55 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 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
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 4 migration notes 4 models 3 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 3

XML IDNameModelTypeStatus
view_move_line_form stock.move.line form Inherits stock.view_move_line_form
view_picking_form stock.picking form Inherits stock.view_picking_form
view_picking_type_form stock.picking.type form Inherits stock.view_picking_type_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • manual_lot_id Many2one → stock.production.lot
    comodel_name='stock.production.lot' copy=False string='Lot/Serial'
  • use_manual_lot_selection Boolean
    related='picking_id.picking_type_id.use_manual_lot_selection'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
    Reuse zero quantity move line from the same move.
  • unlink(self)
    @api.multi
    Keep move lines if they are assigned a manual lot in a batch
  • write(self, vals)

New fields (1)
  • use_manual_lot_selection Boolean
    related='picking_type_id.use_manual_lot_selection'
Public methods (3)
  • action_done(self)
    Keep manual lots up to date not to lose visibility. Keep visibility of transferred lot in the case of * an untracked product transferred without setting a manual lot * an update of a picking type to use manual lot selection
  • button_validate(self)
    Check for missing manually assigned lots
  • write(self, vals)
    Encode move line quantities in the context if necessary. If manual_lot_id is being written on the move lines, this could lead to freeing move lines from the same picking that are also being written in this very same call. We encode the original reserved quantities of the move lines in the context so that they can be rereserved for these quantities.

New fields (1)
  • use_manual_lot_selection Boolean
    default=False
Public methods (0)

No public methods.