Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4350 Zobrazení

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

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
říj 20
4317
3
dub 17
2681
0
dub 17
5255
2
bře 19
3105
1
bře 15
3606