Odoo Help


[v9] How to hide parent name in report template ?

Anabela Damas
on 9/10/16, 1:41 PM 672 views


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 ? 


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

on 9/13/16, 3:37 AM

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

Versão Integral, Anabela Damas
on 9/13/16, 4:27 AM

Jusab Sida (jsi)

--Jusab Sida (jsi)--
| 2 2 5
Gandhinagar, India
--Jusab Sida (jsi)--

Jusab Sida (jsi)
On 9/16/16, 8:44 AM

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...

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/10/16, 1:41 PM
Seen: 672 times
Last updated: 9/22/16, 3:29 AM