Skip to Content
Menu
This question has been flagged
1 Odpoveď
2718 Zobrazenia

How to remove street 2 field?


Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
dec 24
2116
3
mar 24
2710
0
okt 23
1336
1
feb 23
3742
1
sep 22
3890