Odoo Help

0

how to customize one2many widget appearance?

By
Raffaele
on 3/10/15, 12:48 PM 712 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>

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

Question tools

2 follower(s)

Stats

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