Skip to Content
Menu
This question has been flagged
4919 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
birž. 22
3549
3
rugs. 17
7840
1
rugp. 16
9291
0
liep. 15
3885
0
kov. 15
4723