Odoo Help


Daily reset of invoice number counter

Clemens John
on 5/20/15, 11:43 AM 2,376 views


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

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

Open Alpha LLC
on 4/12/16, 5:09 PM



| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 5/22/15, 2:11 AM

You can reset the Number automatically using Scheduled Actions.


Clemens John
On 8/17/15, 1:50 PM

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


You're Welcome. Nice Post !!!

on 8/18/15, 8:33 AM

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

Open Alpha LLC
on 4/12/16, 5:11 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 5/20/15, 11:43 AM
Seen: 2376 times
Last updated: 4/11/16, 5:25 PM