How to remove street 2 field?
Se marcó esta pregunta
1
Responder
4151
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
4
dic 24
|
3489 | ||
|
|
3
mar 24
|
4005 | ||
|
|
0
oct 23
|
2287 | ||
|
|
2
abr 26
|
5759 | ||
|
|
1
sept 22
|
5142 |