Odoo Help


Odoo 8 <notebook> : show only field required

on 5/5/15, 6:11 AM 1,049 views


I am using the following code to add a tab in Customer 

<notebook position="inside">

<page string="GPS Units">

<field name="boxen_ids" colspan="4" />



This gives all the heading in my GPS unit view

For example: in the module GPS units it lists the customer name. However I don't need this under the customer as I already know the name. Is there a code to just pass headings I need and not all under the list view in GPS Units? 

On 5/13/15, 2:06 AM

This is probably a better example of what I need. I have a customer profile module and the list view code is here:

<record id="profile_add_tree_view" model="ir.ui.view">

<field name="name">profile.add.tree.view</field>

<field name="view_type">tree</field>

<field name="model">profile.add</field>

<field name="arch" type="xml">

<tree string="Profile">

<field name="res_partner_id"/>

<field name="status_id"/>

<field name="anzahl" />

<field name="grund_ids" />




When I try to add this to the Customer view, it gives me all the columns, but I would like to be able to show only the columns I needed:


<record id="base_view_partner_form" model="ir.ui.view">

<field name="model">res.partner</field>

<field name="inherit_id" ref="base.view_partner_form"/>

<field name="arch" type="xml">

<notebook position="inside">

<page string="Profil">

<field name="profile_ids" colspan="4" />





Is there a way to pass selected columns while keeping a different set of columns in the list view? I tried to create a second tree view to a class that doesn't include res.partner but Odoo doesn't like that. Any help here would be really appreciated.

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

1 follower(s)


Asked: 5/5/15, 6:11 AM
Seen: 1049 times
Last updated: 5/13/15, 2:06 AM