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.
In v6.1 \addons\base\res\res_partner_view.xml, around line 345
<field colspan="4" mode="form,tree" name="address" nolabel="1" select="1" height="260">
this code display form view of contact(address) in the partner view, I want to change the mode sequence to:
to list contact tree view first. How to do this by inheriting views in a custom module? Thank you very much.
May be you changed in wrong directory. or you forgot to refresh the server and that module
I done this thing by changing in this directory
Line no 345
<field colspan="4" mode="tree,form" name="address" nolabel="1" select="1" height="260">
It works for me
Don't Forgot to restart server and upgrade that module
For inherited view Write this in your inherited view
<field name="address" position="attributes"> <attribute name="mode">tree,form</attribute> </field>
Hope This will help :D
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: 3/19/13, 12:47 AM|
|Seen: 1796 times|
|Last updated: 3/16/15, 8:10 AM|