Skip to Content
Menu
This question has been flagged
2 Replies
6241 Views

Hello Community ,

i have created an button to display a form view I've added the 'flags': {'form': {'action_buttons': True}} to show me save and discard button ,when i click save the data are saved but the window still opening i there a solution to close automatically after save ?


Avatar
Discard

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

Best Answer

Hi, did the answer of Mounir Zitouni  help to you?

where do you use the return??


greetings

Avatar
Discard