This question has been flagged
607 Views

so i want to append digits at the end of an id every time i duplicate it.  

example:

id (orig)

id1 (first copy)

id2 (second copy)


i have tried to override the copy function of odoo and i am able to add "1" during first copy(which is just a string, i know it shouldnt be) but i am having a hard time to increment it. any help would be appreciated thank you
 


Avatar
Discard