コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4905 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 22
3545
3
9月 17
7840
1
8月 16
9275
0
7月 15
3876
0
3月 15
4709