Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1845 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
2457
1
mag 25
2933
1
apr 25
2894
1
feb 25
2162
7
set 24
26555