Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2696 Visualizzazioni

How to remove street 2 field?


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
dic 24
2089
3
mar 24
2704
0
ott 23
1328
1
feb 23
3736
1
set 22
3885