Skip to content
Snippets Groups Projects
Commit a1e540fb authored by svs-odoo's avatar svs-odoo
Browse files

[FIX] stock: avoid attempt to create the same lot

How to reproduce:
  - Create a product tracked by lot;
  - Create two receipts for this product;
  - Use the same lot name in the two receipts;
  - Try to validate the two receipts in the same time
    => `ValidationError` will trigger in the `_check_unique_lot`
        constrain of the production lot.

task-2646107

Part-of: odoo/odoo#76847
parent 9e9cd045
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment