Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4553 Tampilan

Hello everybody:

i use this sequence  for purchase Order :PO%(y)sA%(range_month)s

But the number do not restart when month change for exemple i have

PO21A0380 and the next is PO21A0481 instead of PO21A0401




Any help welcome.

Avatar
Buang
Jawaban Terbai

Hello William!

To achieve your desired outcome, which means, reset the sequence when month passes, you must use subsequences per date_range, which implies creating a subsequence per month.

However, there is a module by OCA that may suit your needs. Please see the following link:

https://github.com/OCA/server-ux/tree/13.0/sequence_reset_period

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
sequence prefix. Diselesaikan
3
Sep 23
4111
2
Mar 18
5466
0
Okt 24
1232
3
Feb 24
11050
1
Nov 23
1513