Odoo Help

0

Increment by one the current_id of an object

By
Jihen BEN ALI
on 8/15/16, 10:37 AM 290 views

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

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.

Register

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)

Stats

Asked: 8/15/16, 10:37 AM
Seen: 290 times
Last updated: 8/15/16, 11:03 AM