Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- #Done by RHT on the 18/12/2024
- #Need : remove the phone from the follow-up letter
- #Task : https://www.odoo.com/odoo/project/5686/tasks/4413771?debug=1
- #Pastebin : https://pastebin.com/usHbGpM2
- -->
- <xpath expr="//t" position="replace">
- <div t-if="context.get("mail") != True" class="print_only" style="margin-bottom: 20px;">
- <t t-if="invoice_address_id" t-set="partner_addr" t-value="invoice_address_id"/>
- <t t-else="" t-set="partner_addr" t-value="partner"/>
- <t t-if="context.get('snailmail_layout')" t-set="contact_widget_fields" t-value="['address', 'name']"/>
- <t t-else="" t-set="contact_widget_fields" t-value="['address', 'name']"/>
- <div class="row fallback_header">
- <div class="col-5 offset-7">
- <div t-field="partner_addr.self" t-options="{"widget": "contact", "fields": contact_widget_fields, "no_marker": True}"/>
- <span t-field="partner_addr.vat"/>
- </div>
- </div>
- <p style="margin-top: 35px;">
- Date: <span t-esc="today" t-options="{'widget': 'date'}"/><br/>
- <t t-if="partner_addr.ref">Customer ref: <span t-field="partner_addr.ref"/></t>
- </p>
- </div>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement