Odoo Help


inherit Qweb template report odoo8

ayman mohammed adam
on 5/31/16, 6:11 AM 542 views

How to inherit template report to change in some features of it


Prakash Sharma

--Prakash Sharma--
--Prakash Sharma--

I like to surround myself with brave, creative people.

My motivation for learning different technologies and algos drive me. I love challenges of a steep learning curve which I believe makes me a better learner. I have a strong desire to learn different technologies, which would enable me to become a full stack developer.

Prakash Sharma
On 5/31/16, 7:28 AM
  1. Inherit the template   (<template id="my_module.report_invoice_document_inherit" inherit_id="account.report_invoice_document"> )

  2. And use the Xpath (<xpath expr="//div[@class='row mt32 mb32']" position='inside'>)


        <template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document">
<xpath expr="//div[@class='row mt32 mb32']" position='inside'>
<t t-set='o.carrier_tracking_ref'/>
<div class="col-xs-2" t-if="o.carrier_tracking_ref">
<strong>Carrier Tracking:</strong>
<p t-field="o.carrier_tracking_ref"/>

Hope it may help in your case.

Thanks it is work

ayman mohammed adam
on 6/1/16, 8:21 AM

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: 5/31/16, 6:11 AM
Seen: 542 times
Last updated: 6/1/16, 8:21 AM