Skip to Content
Menú
This question has been flagged
1 Respondre
2465 Vistes

How to remove street 2 field?


Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
4
de des. 24
1808
3
de març 24
2481
0
d’oct. 23
1156
1
de febr. 23
3425
1
de set. 22
3730