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 ?
Add return {'type': 'ir.actions.act_window_close'}