Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4242 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
sequence prefix. Rozwiązane
3
wrz 23
3623
2
mar 18
5266
0
paź 24
999
3
lut 24
10602
1
lis 23
1370