Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6404 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
0
feb 23
4914
0
gen 23
94
1
ott 22
4246
0
apr 22
2791
2
mar 25
2839