Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2457 Vistas

How to remove street 2 field?


Avatar
Descartar
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
4
dic 24
1783
3
mar 24
2451
0
oct 23
1124
1
feb 23
3383
1
sept 22
3712