forked from alaguraj/odoo-testing-addons
implement custom checkout address UI with delivery/pickup selection and Uber fee integration
This commit is contained in:
parent
ae1980ee9d
commit
bdb92a60ab
@ -34,12 +34,14 @@
|
|||||||
<attribute name="style">display: none !important;</attribute>
|
<attribute name="style">display: none !important;</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<!-- NEW: Hide 'Company Name' and 'VAT' fields -->
|
<!-- Hide 'Company Name' and 'VAT' fields using robust label selectors -->
|
||||||
<xpath expr="//div[label[@for='company_name']]" position="attributes">
|
<xpath expr="//div[label[@for='company_name']]" position="attributes">
|
||||||
<attribute name="class" add="d-none" separator=" "/>
|
<attribute name="class" add="d-none" separator=" "/>
|
||||||
|
<attribute name="style">display: none !important;</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('div_vat')]" position="attributes">
|
<xpath expr="//div[label[@for='vat']]" position="attributes">
|
||||||
<attribute name="class" add="d-none" separator=" "/>
|
<attribute name="class" add="d-none" separator=" "/>
|
||||||
|
<attribute name="style">display: none !important;</attribute>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<!-- Inject Selection Cards -->
|
<!-- Inject Selection Cards -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user