I'm trying to insert the logo of my client on the "Quotation/Order" report. I already got to insert the logo of the contacts of the clients using the code below on the report_saleorder_document view:
<img t-if="doc.partner_id.image_256" t-attf-src="data:image/*;base64,{{doc.partner_id.image_256}}" class="img img-responsive" alt="User Image"/>
The problem is: the logo is not present on the partner_id, but it is stored on the parent.partner_id
I already tried the code below, but not working.
<img t-if="doc.parent.partner_id.image_256" t-attf-src="data:image/*;base64,{{doc.parent.partner_id.image_256}}" class="img img-responsive" alt="User Image"/>
Any suggestion?