This module adds a constraint on stock.move.line to make sure that no stock exists for the specified serial 1) when serial is input (in lot_name field), and 2) when the lot is being created (in _action_done()) in purchase receipts, to avoid duplicates.
Standard behavior fails to prevent the duplicates, for example, when there is stock for a serial with no owner, and new stock comes in with the same serial with an owner. This module intends to cater to this case.
Table of contents
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.
- Quartile Limited
- Tatsuki Kanda <kanda@quartile.co>
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.
This module is part of the OCA/stock-logistics-workflow project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.