Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2955 Weergaven

How to remove street 2 field?


Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
dec. 24
2323
3
mrt. 24
2946
0
okt. 23
1523
1
feb. 23
4059
1
sep. 22
4147