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 projects kanban view we are shown project's end date,
now i want to see the end date in the list view, is this possible???? and how...?
and is it possible to remove/add any columns in the list view????
Yes, It is possible to add/remove any field(column) from the view. For that you just need to inherit the view.
Here is the example to add a field in view:
<record id="view_project_inherit" model="ir.ui.view"> <field name="name">project.project.inherit</field> <field name="model">project.project</field> <field name="inherit_id" ref="project.view_project"/> <field name="arch" type="xml"> <xpath expr="//field[@name='total_hours']" position="before"> <field name="date"/> </xpath> </field> </record>
After adding this code in your .xml, update your module.
Here, You can write positions like,
- inside: placed inside match (default)
- before: placed before match
- attributes: used with <attribute> tags to add new
- replace: replace match
- after: placed after match
Hope this will help you.
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: 10/28/13, 3:59 AM|
|Seen: 2172 times|
|Last updated: 3/16/15, 8:10 AM|