Skip to Content
Menu
This question has been flagged
1 Atsakyti
2689 Rodiniai

How to remove street 2 field?


Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
4
gruod. 24
2084
3
kov. 24
2700
0
spal. 23
1317
1
vas. 23
3732
1
rugs. 22
3884