Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2497 Widoki

How to remove street 2 field?


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Create a custom template, Inherit the address template in website_sale module, and use xpath to replace the street 2 field.

<template id="address" inherit_id="website_sale.address">
<xpath expr="//div[contains(@t-attf-class, ‘col-lg-12 div_street2’)]” position="replace”>
</xpath>
</template>

Then the field and it’s label will be removed.

Regards

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
gru 24
1934
3
mar 24
2533
0
paź 23
1207
1
lut 23
3501
1
wrz 22
3764