Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4440 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.....

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 20
4405
3
thg 4 17
2832
0
thg 4 17
5347
2
thg 3 19
3214
1
thg 3 15
3674