Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6779 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar