Description:
In this video, we are discussing how to create a sequence number in odoo15. The sequence is normally generated inside the create function of a model.
The sequential field in Odoo also known as an auto incremental field generates an auto incremental number every time a new record is generated. If we need to add a sequence field for naming in our custom model, we can do this easily by making the name field incremental. We can also generate a sequence number by creating a new field or inheriting an old field and making that field auto-incremental.