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

Hi,

I use Odoo 8 and have the following (maybe unusual) invoice numbering schema: YEAR-MONTH-DAY.NUMBER.
In Odoo I configured it as: "%(year)s-%(month)s-%(day)s".

Everything works fine, but I want to reset the NUMBER part on each day and start with 1 again. I can do this manually every day but I think this is automatable with a cronjob or another feature. Someone of you has a solution for this?

Kind Regards
Clemens

الصورة الرمزية
إهمال

Would you advise to reset the counter every year for all journals?

أفضل إجابة

You can reset the Number automatically using Scheduled Actions.

  https://www.odoo.com/forum/help-1/question/resetting-sequencer-padding-every-day-54738 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Hi Prakash,

I just want to say thank you for your answer! My reply is a little late but I got this working and wrote down some details for other interested users here: https://wiki.nordwest.freifunk.net/Technik/Dokumentation/Odoo#Daily_reset_of_invoice_numbers 


Kind Regards

Clemens

الصورة الرمزية
إهمال

You're Welcome. Nice Post !!!

Could we use the same module, adapted to yearly reset the counter for all journals?

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 22
2307
0
يونيو 17
2483
2
يونيو 24
3996
0
يوليو 16
3761
0
مارس 15
3491