How to remove street 2 field?
Esta pergunta foi sinalizada
1
Responder
4146
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
4
dez. 24
|
3488 | ||
|
|
3
mar. 24
|
3997 | ||
|
|
0
out. 23
|
2287 | ||
|
|
2
abr. 26
|
5754 | ||
|
|
1
set. 22
|
5137 |