Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/26/13, 1:39 AM|
|Seen: 2626 times|
|Last updated: 3/16/15, 8:10 AM|