Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2493 Tampilan

How to remove street 2 field?


Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
4
Des 24
1919
3
Mar 24
2530
0
Okt 23
1198
1
Feb 23
3497
1
Sep 22
3762