Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2710 Visualizações

How to remove street 2 field?


Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
dez. 24
2109
3
mar. 24
2706
0
out. 23
1330
1
fev. 23
3737
1
set. 22
3885