Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5277 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
бер. 15
7048
2
бер. 15
7549
3
груд. 22
3282
1
квіт. 22
6817
5
січ. 22
11628