Odoo Help


how can we add the custom fields in tree view

on 2/26/14, 8:44 AM 1,714 views

Hi All I am trying to add an field to tree from custom module but I am unable to get in,

My code is <openerp> <data> <record model="ir.ui.view" id="legacy_projects_project"> <field name="name">project.project.form</field> <field name="model">project.project</field> <field name="inherit_id" ref="project.edit_project"/> <field name="arch" type="xml"> <xpath expr="//field[@name='partner_id']" position="after"> <field name="legacy_projects_id"/> </xpath> </field> </record>

<record model="ir.ui.view" id="legacy_projects_project">
    <field name="name">project.project.tree</field>
    <field name="model">project.project</field>
    <field name="inherit_id" ref="project.edit_project" />
    <field name="arch" type="xml">
            expr="//field[@name='user_id']" position="after">
            <field name="legacy_projects_id"/>

</data> </openerp>

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/26/14, 8:44 AM
Seen: 1714 times
Last updated: 3/16/15, 8:10 AM