Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
8345 Vues

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

Avatar
Ignorer

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

Meilleure réponse

You can reset the Number automatically using Scheduled Actions.

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

Avatar
Ignorer
Auteur Meilleure réponse

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

Avatar
Ignorer

You're Welcome. Nice Post !!!

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

Publications associées Réponses Vues Activité
0
avr. 22
2307
0
juin 17
2483
2
juin 24
3995
0
juil. 16
3760
0
mars 15
3491