Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6393 Представления

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 

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор

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 Ответы Просмотры Активность
0
февр. 23
4908
0
янв. 23
94
1
окт. 22
4245
0
апр. 22
2789
2
мар. 25
2834