İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2572 Görünümler

How to remove street 2 field?


Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Ara 24
1960
3
Mar 24
2594
0
Eki 23
1230
1
Şub 23
3577
1
Eyl 22
3819