Skip to content

Latest commit

 

History

History
 
 

stock_lock_lot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
License: AGPL-3

Block Serial Numbers/lots

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.

Configuration

To allow a user to block or unblock a Lot:

  1. open the user settings (menu "Configuration > Users")
  2. in the "Warehouse" section, check the box "Allow to block/unblock Serial Numbers/Lots"

To allow move locked lots to a location: #. open the locations (menu "Warehouse > Configuration > Locations") #. check the box "Allow Locked"

Optional: enforce strict blocking

By default, users are not allowed to force-move a blocked Serial Number/lot by forcing the availability of a stock operation. If you do not want to enforce such a strict blocking of Serial Numbers/lots:

  1. open the warehouse settings (menu "Configuration > Warehouse")
  2. in the "Lot blocking" section, uncheck the box "Strictly forbid moves on blocked Serial Numbers/lots."

Usage

Two new buttons let you block/unblock a Serial Number/lot in the form view. Blocking/unblocking can also be done from the list view, by selecting the Serial Numbers/lots and choosing the option "Block/Unblock lots".

Only lots which have no reservation can be blocked.

Delivery Orders are not allowed to select a blocked Serial Number/lot.

Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.