Odoo Help


[9.0] How to generate an invoice number including the id_client ? (CLI/2016/XX)

Fabien M
on 6/8/16, 9:17 AM 245 views

All is in the question, I know how to access to the invoice sequence. I can add new rules with years, months, days, but can I do more ? Can I include my ID client in the number ? Thanks


Sudhir Arya (SA)

--Sudhir Arya (SA)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow




Sudhir Arya (SA)
On 6/8/16, 1:22 PM

Hi Fabien,

You just have to override / extend the sequence of the base. There are many ways to do so.

You can override the method in which the sequence is assigned to the invoice and then you can update it by your own.


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

1 follower(s)


Asked: 6/8/16, 9:17 AM
Seen: 245 times
Last updated: 6/8/16, 1:22 PM