In manufacturing model, there is a field called Lot/Serial number which is generating number by default for a products.
If product A is set to 00001 then for product B is set to 00002 (by default in Odoo).
But i want to generate it uniquely for products like If product A is set to 0001 then for product B must be set to 0001(new). If again product B is up to be manufactured then is set to 0002.
Kindly help me to do this!
Hope you are looking this: https://learnopenerp.blogspot.com/2020/08/generate-create-sequence-number-odoo.html
Thanks sehrish. I know how to create a new sequence and change it based on states too. But for lot , It's bit difficult for me to do. While generating lot and serial number for products are combined as a single code of sequence generation. I don't know know how to split this process and store sequence for different products.