Skip to Content
Menu
This question has been flagged
1977 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

Avatar
Discard