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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
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="{"widget": "contact", "fields": ["address"], "no_marker": 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
مارس 15
|
7275 | ||
|
2
مارس 15
|
7845 | ||
|
3
ديسمبر 22
|
3604 | ||
|
1
أبريل 22
|
7105 | ||
Ledger for specific partner
تم الحل
|
|
5
يناير 22
|
12026 |
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...