customize Odoo checkout address templates to remove company/VAT fields, rename zip to postal code, and streamline shipping details.

This commit is contained in:
Alaguraj0361 2026-03-10 11:51:05 +05:30
parent 8ddde09c63
commit f7c7359b6c

View File

@ -24,10 +24,7 @@
<attribute name="placeholder">Postal Code</attribute>
</xpath>
<!-- 7. Hide "Ship to the same address" switch -->
<xpath expr="//input[@id='shipping_use_same']/ancestor::div[contains(@class, 'form-check')]" position="attributes">
<attribute name="class" add="d-none" separator=" "/>
</xpath>
<!-- 8. Change "Shipping address" / "Billing address" title to just "Address Details" -->
<xpath expr="//h3[contains(., 'address')]" position="replace">