Skip to Content
Menu
This question has been flagged
2 Replies
9607 Views

Hi everyone!


I'm new at Odoo and I'm wondering how to edit Quotation Template (not online quotation template but PDF).



Many thanks,

MY

Avatar
Discard
Best Answer

Thanks to Yenthe you'll can study this precious little tutorial: http://www.odoo.yenthevg.com/inheriting-and-modifying-qweb-reports/

Avatar
Discard
Best Answer

To edit PDF templates you can inherit template view of the PDF report and make necessary changes

I'm posting a sample code to inherit sale order template

<?xml version="1.0"?>
<odoo>
<template id="report_saleorder_document_inherit" inherit_id="sale.report_saleorder_document">
<xpath expr="//div[@name='payment_term']" position="after">
<div>
<strong>Some text</strong>
<p t-field="doc.name"/>
</div>
</xpath>
</template>
</odoo>

you may refer this link

Avatar
Discard