Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1355 Tampilan

Greetings,

After an upgrade from v15 to v17 I realized that my tree inline fields are now shrieked, more like cut actually..

When I observe the element, the table is wrapped in a div set to 98px while the table got a width of 195px (depends the amount of column it contains) but my qWeb is set with no div.

Also, the database is hosted on Odoo's servers if this information can help.


Does someone have an idea why the field got such a behavior ?


Thanks in advance.

Mandresy RANDRIATAVY


The qWeb part

<page name="research" string="Recherche" invisible="not set(tag_ids).intersection([34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46])">

​<group>

​<group string="Détails">

​​# Some regular fields

</group>


<group string="Budget">

​​# Some regular fields

</group>

</group>


​<group string="Localisations">

​<field name="x_places" nolabel="1">

​<tree editable="bottom">

<field name="x_name"/>

​<field name="x_tag"

​widget="many2many_tags"

​options="{'no_create': True, 'color_field': 'x_color'}"/>

<field name="x_lead_id"

​context="{'default_x_lead_id': self.env.uid}"

​column_invisible="1"/>

​</tree>

​</field>

​</group>


<group string="Biens visités">

​<field name="x_visited" nolabel="1">

​<tree editable="bottom">

<field name="x_name"/>

​<field name="x_lead_id"

​context="{'default_x_lead_id': self.env.uid}"

​column_invisible="1"/>

​</tree>

​</field>

</group>

</page>

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 25
1730
1
Mei 25
1737
1
Apr 25
2299
1
Feb 25
1576
7
Sep 24
25694