تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4176 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
sequence prefix. تم الحل
3
سبتمبر 23
3547
2
مارس 18
5237
0
أكتوبر 24
965
3
فبراير 24
10512
1
نوفمبر 23
1341