跳至內容
選單
此問題已被標幟
950 瀏覽次數

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
 


頭像
捨棄