Odoo Help


creating a counter with each created item in the model.

layal abishalhla
on 2/24/14, 6:15 AM 527 views

i have field 'model' class that has a name and a shortcut (each class created should have a counter starting from 1) , and another field 'student_number' which should take the value of the shortcut of the class related to , concatenated with the counter value of that class. then on save the counter of that class should increment. I need your help to create a function for this aim .

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

0 follower(s)


Asked: 2/24/14, 6:15 AM
Seen: 527 times
Last updated: 3/16/15, 8:10 AM