Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2612 Prikazi

How to remove street 2 field?


Avatar
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
dec. 24
2018
3
mar. 24
2645
0
okt. 23
1289
1
feb. 23
3652
1
sep. 22
3849