Odoo Help


Use period code in invoice number series ?

Geert Janssens
on 5/22/13, 8:53 AM 1,675 views

Journals have an associated entry sequence. In there one can define the format to use for the invoice numbers. A number of predefined macros exist to assist in automated number generation, like %(year)s, %(month)s and so on.

I'm looking for a way to include the current period's code instead.

Let me give an example: I have defined quarterly accounting periods with codes like 13.1, 13.2,...

For my customer invoices, I would like to generate numbers like this: VF13.1-1, VF13.1-2, VF13.2-1 So the formula would be something like VF%(period)s- But %(period)s doesn't seem to exist. Is there a way to use period codes as part of the autogenerated sequence numbers ?

Thanks for the link. It doesn't talk about period codes in invoice numbers. But from the answer to that question I infer that customisation is needed to do what I want. I don't have sufficient karma, otherwise I would have close my own question as a duplicate.

Via Lila nv, Geert Janssens
on 5/22/13, 10:13 AM

exactly must customisation

on 5/22/13, 10:17 AM

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

0 follower(s)


Asked: 5/22/13, 8:53 AM
Seen: 1675 times
Last updated: 4/24/15, 11:34 AM