forked from alaguraj/odoo-testing-addons
Implement Odoo checkout address customization with pickup/delivery toggle and update Docker Compose for Odoo container configuration.
This commit is contained in:
parent
614a2641f3
commit
7d7d79185f
@ -13,9 +13,11 @@
|
|||||||
<!-- 3. Remove VAT Warning Message if it exists (Optional/Resilient) -->
|
<!-- 3. Remove VAT Warning Message if it exists (Optional/Resilient) -->
|
||||||
<!-- <xpath expr="//small[contains(text(), 'VAT number is not allowed')]/.." position="replace"/> -->
|
<!-- <xpath expr="//small[contains(text(), 'VAT number is not allowed')]/.." position="replace"/> -->
|
||||||
|
|
||||||
<!-- 4. Rename Zip Code Label to Postal Code (Using more robust match) -->
|
<!-- 4. Rename ALL Zip Code Labels to Postal Code (Handles both layout versions) -->
|
||||||
<!-- 4. Rename Zip Code Label to Postal Code -->
|
<xpath expr="(//label[@for='zip'])[1]" position="replace">
|
||||||
<xpath expr="//label[@for='zip']" position="replace">
|
<label class="col-form-label label-optional" for="zip">Postal Code</label>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="(//label[@for='zip'])[2]" position="replace">
|
||||||
<label class="col-form-label label-optional" for="zip">Postal Code</label>
|
<label class="col-form-label label-optional" for="zip">Postal Code</label>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
@ -212,8 +214,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 9. Remove the "Be aware!" warning box (Already removed or hidden) -->
|
<!-- 9. Remove the "Be aware!" warning box completely -->
|
||||||
<!-- <xpath expr="//div[contains(@class, 'alert-warning') and .//h4[contains(., 'Be aware')]]" position="replace"/> -->
|
<xpath expr="//div[@role='alert' and .//h4[contains(text(), 'Be aware')]]" position="replace"/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Change Billing & Shipping Label on Payment Page -->
|
<!-- Change Billing & Shipping Label on Payment Page -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user