Odoo Help


This community 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.


Auto numbering depending on categories

Anne-Sylvie Burri
on 3/4/14, 3:43 AM 476 views


For products, I would like to have an auto numbering which one depends on products categories. For example :

  • Categorie 1 :
    • 00100001
    • 00100002 -Categorie 2 :
    • 00200001
    • 00200002

and so on...

I already have a code for auto numbering but I miss the correct syntax to separate different categories.

Maybe someone could help me ?

Thanks in advance.


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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 3/4/14, 3:43 AM
Seen: 476 times
Last updated: 3/16/15, 8:10 AM