Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6771 Näkymät

Hello,

I am customizing the order report but I need to change the behavior of the contact widget.

As for now I have this node :

<div t-field="o.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;phone&quot;, &quot;fax&quot;], &quot;no_marker&quot;: true}"/> 

Even if the field "name" is not listed, it comes on the report. Is there a way to avoid this, or better to edit the way this widget works?

Regards


Avatar
Hylkää
Paras vastaus

You can edit this widget at Settings -> Technical -> User Interface -> Views. Search for a view called "contact". Edit the view to your desire, but please note that this will effect *all* reports that call the contact widget and not necessarily just the reports you would like customize.

Avatar
Hylkää