跳至內容
選單
此問題已被標幟
1 回覆
4178 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
9月 23
3550
2
3月 18
5237
0
10月 24
967
3
2月 24
10513
1
11月 23
1342