Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4463 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 20
4457
How do you create a button? แก้ไขแล้ว
3
เม.ย. 17
2908
0
เม.ย. 17
5405
Button to open form. V11 แก้ไขแล้ว
2
มี.ค. 19
3281
1
มี.ค. 15
3716