Odoo sequence ussually needed for automatically generated and suppose to be unique value to identified certain object or in this context is document. For example company need unique document number for every Sales document they have.
When we need to create NEW sequence in odoo ?
When we have new object and this object suppose to have unique and auto generated number. in this example we have new object called 'sale.doc' will be used to store any document related to SO such as contract, delivery doc etc.
1. create xml code to declare the sequence
2. call the sequence and set it on certain char field ('name) that belongs to the same object
When we need to create NEW sequence in odoo ?
When we have new object and this object suppose to have unique and auto generated number. in this example we have new object called 'sale.doc' will be used to store any document related to SO such as contract, delivery doc etc.
1. create xml code to declare the sequence
2. call the sequence and set it on certain char field ('name) that belongs to the same object
thanks man
ReplyDeleteyour welcome
Deletehope this will helps: https://learnopenerp.blogspot.com/2020/08/generate-create-sequence-number-odoo.html
ReplyDelete