Skip to Content
Menu
This question has been flagged
1 Odpoveď
4180 Zobrazenia

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
Zrušiť
Best Answer

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
sep 23
3550
2
mar 18
5238
0
okt 24
968
3
feb 24
10515
1
nov 23
1343