コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6410 ビュー

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.

関連投稿 返信 ビュー 活動
0
2月 23
4920
0
1月 23
94
1
10月 22
4246
0
4月 22
2795
2
3月 25
2846