跳至內容
選單
此問題已被標幟
1 回覆
4386 瀏覽次數

Hi guys

I made this wizard:

image description

I want to click in the "edit", "duplicate" and "Delete" buttons and do the actions edit, duplicate and delete (rows) but What I dont know if its possible is when I click on the edit button on the first row it only edit the 1st row or if I click on the delete button on the 2nd row it only delete the 2nd row.

If someone knows How can I do this pls explain me, with some example or someting

頭像
捨棄
作者 最佳答案

to delete I have to do this

 def gs_unlink(self, cr, uid, ids, context=None):

    osv.osv.unlink(self, cr, uid, ids, context=context)
    return True

but when I click on the button the wizard close But I dont want that.....

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 20
4373
3
4月 17
2767
0
4月 17
5308
2
3月 19
3180
1
3月 15
3651