2
votes

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

2
What you have tried that describe here..Keval Mehta

2 Answers

1
votes

Pls try with this in ir.actions.act_window:

<field name='flags'>{'initial_mode': 'edit'}</field>
0
votes

Use this:

In form's ir.actions.act_window record add:

<field name='target'>inline</field>