跳至內容
選單
此問題已被標幟
1 回覆
6783 瀏覽次數

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


頭像
捨棄
最佳答案

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.

頭像
捨棄