How to remove street 2 field?
Cette question a été signalée
1
Répondre
4156
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
4
déc. 24
|
3494 | ||
|
|
3
mars 24
|
4006 | ||
|
|
0
oct. 23
|
2287 | ||
|
|
2
avr. 26
|
5764 | ||
|
|
1
sept. 22
|
5160 |