Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 04/04/2025
- Need : Different title of the report when it is for a wedding (x_studio_wedding = True)
- Task : https://www.odoo.com/odoo/project.task/4678564
- Pastebin : https://pastebin.com/hXSMknbZ
- -->
- <xpath expr="//div[@class='clearfix invoice_main']/div/t/t/span[3]" position="replace">
- <span t-if="o.move_type == 'out_invoice' and o.state == 'posted' and o.x_studio_wedding">Redevance Note</span>
- <span t-if="o.move_type == 'out_invoice' and o.state == 'posted' and not o.x_studio_wedding">Invoice</span>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement