Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 07/05/2025
- Need : only keep the customer address
- Task : https://www.odoo.com/odoo/project.task/4724265
- Pastbin : https://pastebin.com/2WXkw13f
- -->
- <xpath expr="//t/div" position="replace">
- <div class="offset-col-6 col-6" name="no_shipping">
- <t t-set="address">
- <address class="mb-0" t-field="o.partner_id" t-options="{"widget": "contact", "fields": ["address", "name"], "no_marker": True}"/>
- <div t-if="o.partner_id.vat" id="partner_vat_no_shipping">
- <t t-if="o.company_id.account_fiscal_country_id.vat_label" t-out="o.company_id.account_fiscal_country_id.vat_label" id="inv_tax_id_label"/>
- <t t-else="">Tax ID</t>: <span t-field="o.partner_id.vat"/>
- </div>
- </t>
- </div>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement