I have a tree view in my custom module. When user clicks on an item of tree view it takes user to the form view and user have to click edit button in order to edit the form. I want to open the form view automatically in edit mode. So, user didn't have to click specially on Edit button
Pls try with this in ir.actions.act_window: