Stock archive constraint
by Tecnativa https://github.com/OCA/stock-logistics-warehouse , Odoo Community Association (OCA) https://github.com/OCA/stock-logistics-warehouseAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
Lines of code | 110 |
Technical Name |
stock_archive_constraint |
License | AGPL-3 |
Website | https://github.com/OCA/stock-logistics-warehouse |
Versions | 12.0 13.0 14.0 15.0 17.0 18.0 |
Stock archive constraint
Prevents archiving products or storage locations that have existing inventory or related transactions.
Table of contents
Usage
- Go to Settings > Users > Edit a user and check the “Manage Multiple Stock Locations” permission
- Go to Inventory > Configuration > Configuration > Settings, in the Warehouse section and check the “Storage Locations” option
- Go to Inventory > Configuration > Locations and attempt to archive a location that has an associated stock move, either as the source or destination.
- Go to inventory > Products > Products and try to archive a product associated with the stock selection, which is in stock, or which has some movement assigned to it
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Tecnativa
Maintainers
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.
Current maintainer:
This module is part of the OCA/stock-logistics-warehouse project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module