Odoo Help

Welcome!

This community 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.

0

how to customize one2many widget appearance?

By
Raffaele
on 3/10/15, 12:48 PM 585 views

Hallo

How could I customize a one2many widget to:

  • hide columns headers
  • show "add another item" link at the top (editable="top" has no effect)
  • force column width

I'm using this code:

<page name="uprelations" string="Relations">
                            <field name="uprelation_ids" nolabel="1" >
                                <tree editable="top">
                                    <field name="role_id" options="{'no_create': True}" />
                                    <field name="related_partner_id" options="{'no_create': True}"/>
                                    <field name="annotations"/>
                                </tree>
                            </field>
                        </page>

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 3/10/15, 12:48 PM
Seen: 585 times
Last updated: 3/16/15, 8:10 AM