Skip to Content
मेन्यू
This question has been flagged
1 Reply
6470 Views

i want to create sequence that will be 

CC-YearMonth-0001

CC-1907-0001        CC-2007-0001

CC-1907-0002        CC-2007-0001

........

.....

any help 

Avatar
Discard
Best Answer

Hi Usman:

You can do this on the sequence definition. Activate developer mode. Go to Settings > Technical > Sequences and edit the sequence you need to change. There is a checkbox called ​Use subsequences per date_range. If you select this, you can specify the date range and the starting number (Next Number) for that date range.

Avatar
Discard
Author

i want to code in xml file any help ?

You will need to create records corresponding to your sequence in the ir.sequence.date_range model.

Related Posts Replies Views Activity
0
फ़र॰ 23
5025
0
जन॰ 23
94
1
अक्तू॰ 22
4312
0
अप्रैल 22
2854
2
मार्च 25
2919