Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4210 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
sequence prefix. Вирішено
3
вер. 23
3579
2
бер. 18
5250
0
жовт. 24
988
3
лют. 24
10564
1
лист. 23
1358