Hello,
I need to increment by one the active_id for specific object for example if I create a new item its id will be 4 I need this id to take 4+1 and to be saved in the database as 5
How can I do it using the def create function??
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I need to increment by one the active_id for specific object for example if I create a new item its id will be 4 I need this id to take 4+1 and to be saved in the database as 5
How can I do it using the def create function??
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
This question has been asked at https://www.odoo.com/forum/help-1/question/auto-incrementing-on-new-field-43140