Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2693 Vues

How to remove street 2 field?


Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
4
déc. 24
2087
3
mars 24
2703
0
oct. 23
1327
1
févr. 23
3736
1
sept. 22
3885