Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 18 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 6 Odoo series since 8.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.53 MB
Module directory on disk
Code analysis 0 migration notes 4 models 5 views 0 HTTP endpoints

Description

This module allows you to define whether a Serial Number/lot is blocked or not. The default value can be set on the Product Category, in the field "Block new Serial Numbers/lots". Is possible to specify in a location if locked lots are allowed to move there.

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 5

XML IDNameModelTypeStatus
product_category_form_view product.category.form.view.inherit.lock.lot product.category form Inherits product.product_category_form_view
search_product_lot_filter search.product.lot.filter.inh.locklot stock.lot search Inherits stock.search_product_lot_filter
view_location_form stock.location.form stock.location form Inherits stock.view_location_form
view_production_lot_form view.production.lot.form.inherit.lock.lot stock.lot form Inherits stock.view_production_lot_form
view_production_lot_tree view.production.lot.list.inh.locklot stock.lot list Inherits stock.view_production_lot_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • lot_default_locked Boolean
    help='If checked, future Serial Numbers/lots will be created blocked by default. This means they will not be available for use in stock moves or other operations' string='Block new Serial Numbers/lots'
Public methods (0)

No public methods.

New fields (1)
  • allow_locked Boolean
    help='Indicates whether the location allows receipt of blocked batches'
Public methods (0)

No public methods.

New fields (2)
  • locked Boolean
    help='Indicates whether this lot is blocked for use.' string='Blocked' tracking=True
  • product_id Many2one
    tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Force the locking/unlocking, ignoring the value of 'locked'.
  • write(self, values)
    "Lock the lot if changing the product and locking is required

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…