When you click on a record in a tree view, you switch to the form view of that record in a view mode. You can then click edit, and edit the form.
Can you put a tag in the XML or something to make the form view automatically open in edit mode?
It is not a huge problem to click edit, but it would be faster for user input to get rid of that extra click.
You can use editable="bottom" in the tree view.
<field name="pf_nominee_id" nolabel="1"> <tree string=' PF Details' editable="bottom"> <field name='pf_nominee_name'/> <field name='pf_nominee_dob'/> <field name='pf_nominee_relation'/> <field name="pf_nominee_address"/> <field name="pf_nominee_percentage"/> </tree> </field>
Here pf_nominee_id is the one2many field.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/26/13, 1:39 AM|
|Seen: 2251 times|
|Last updated: 3/16/15, 8:10 AM|