Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6781 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ