This question has been flagged
4131 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>

Avatar
Discard