Hello,
Is there a way to make the Terms & Conditions only appear on the back of the invoice (or on a second page), instead of directly below the invoice total?
Tank you.
Best regards,
Tim
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
Is there a way to make the Terms & Conditions only appear on the back of the invoice (or on a second page), instead of directly below the invoice total?
Tank you.
Best regards,
Tim
Hi,
By default Odoo have no feature to do this. Instead we can handle this by inheriting the template to make the .terms and conditions on the next page.
For example :
Here is the inheritance of invoice report template.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="custom_report_invoice_document"
inherit_id="account.report_invoice_document">
<xpath expr="//div[@class='page mb-4']" position="inside">
<!-- This will add a page break before the terms and conditions -->
<div class="page-break"
style="page-break-before: always;"></div>
</xpath>
<xpath expr="//div[@name='comment']" position="before">
<div class="page-break"
style="page-break-before: always;"></div>
</xpath>
</template>
</data>
</odoo>
Hope it helps
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ