跳至内容
菜单
此问题已终结
2 回复
5973 查看

How to prevent wizard from being closed when we click on button in odoo 12, {"type": "ir.actions.do_nothing"} is not supported, i tried to close and reopen wizard but i want if there is any way to prevent it from being closed.

形象
丢弃
最佳答案
return {
"type": "set_scrollTop",
}
形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
9月 19
6450
2
9月 23
4572
2
9月 22
4348
0
1月 21
3094
1
12月 19
5201