Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4764 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 22
3328
3
сент. 17
7840
1
авг. 16
9059
0
июл. 15
3653
0
мар. 15
4531