Stock Lock Lot
stock_lock_lot · OCA/stock-logistics-workflow
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 18 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_lockedBooleanhelp='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'
No public methods.
New fields (1)
-
allow_lockedBooleanhelp='Indicates whether the location allows receipt of blocked batches'
No public methods.
New fields (2)
-
lockedBooleanhelp='Indicates whether this lot is blocked for use.'string='Blocked'tracking=True -
product_idMany2onetracking=True
-
create(self, vals_list)@api.model_create_multiForce 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…