Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4912 Weergaven

Hello, I have a one2many dialog that opens when a user clicks on a record from a one2many list.  I have a button on the dialog that calls a method from the model.  What I would like to do is close the dialog after the method is completed without clicking the close button in the upper right corner.  In my method I have this line which I thought would close the dialog, but for some reason it isnt

 

    return {'type': 'ir.actions.act_window_close'}

 

If someone can please help me I would appreciate it. Thank you

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 22
3546
3
sep. 17
7840
1
aug. 16
9282
0
jul. 15
3880
0
mrt. 15
4717