How to Create Sequence Numbers in Odoo 17

CelineGeorge1 715 views 11 slides Jul 05, 2024
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Sequence numbers are mainly used to identify or differentiate each record in a module. Sequences are customizable and can be configured in a specific pattern such as suffix, prefix or a particular numbering scheme. This slide will show how to create sequence numbers in odoo 17.


Slide Content

How to Create Sequence Numbers in Odoo 17 Enterprise

Introduction Enterpr ise Sequence numbers are mainly used to identify or differentiate each record in a module. Sequences are customizable and can be configured in a specific pattern such as suffix, prefix or a particular numbering scheme. This slide will show how to create sequence numbers in odoo 17.

Enterprise Create sequences without code It is possible to create sequences without code. Go to Settings -> Technical -> Sequences From there users can create or customize sequences with their requirements.

Enterprise Example:

Enterprise Create sequences by code It is possible to create sequences by code. For Example: Let’s take a new model employee.contracts and take a char field to store the sequences. i e,

Enterprise Sequence related functionality will be defined inside the create function of the model.

Enterprise Then create a xml file inside the data folder of the module.

Enterprise After installation of the module , the created sequence record can be seen inside the ir.sequence model. i e,

Enterprise When creating a new record in employee.contracts model, then sequence number will be automatically generated.

Enterprise

For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com