I'm trying to customize odoo default invoices report.
Here is my code in XML file:
xml version="1.0" encoding="utf-8"?><odoo>
<templateid="report_invoice_inherit_demo"inherit_id="account.report_invoice_document"><xpathexpr="//div[@id='total']/div/table/t"position="after">
<tr><td><span>Advanced Payment Amount span>
td><tdclass="text-right"><spant-field="o.advanced_payment_amount"/>td>tr><tr><td><span>Guarantee Amountspan>
td><tdclass="text-right"><spant-field="o.guarantee_amount"/>td>tr><tr><td><span>Retention Amount span>
td><tdclass="text-right"><spant-field="o.retention_amount"/>td>tr><tr><td><span>Deduction Total span>
td><tdclass="text-right"><spant-field="o.deduction_total"/>td>tr>xpath>template>
odoo>
I have also mentioned account module in depends in manifest file, but it is not working yet ,Does anyone have any idea why it is not working?