콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5561 화면

Hi, 

In the report is printed the "parent name , partner_name" . 

How do I change this :

                    <address t-field="o.partner_id"

t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}' />

To hide the parent name ? 


Thanks 


아바타
취소

Can you specify what report this is? The code says nothing abount parent_name

작성자

this is present in all reports SO, PO, Invoice, Delivery order...

베스트 답변

Hello @Anabela Damas,

For that you can do this way...

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


Hope this will help...


아바타
취소
베스트 답변

Remove name field from contact widget also remove the partner name from the report. I think we have to override the name_get function.

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
7276
2
3월 15
7846
3
12월 22
3605
1
4월 22
7106
5
1월 22
12027