Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2717 Visninger

How to remove street 2 field?


Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
4
dec. 24
2114
3
mar. 24
2709
0
okt. 23
1333
1
feb. 23
3741
1
sep. 22
3889