Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2557 Zobrazení

How to remove street 2 field?


Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
pro 24
1954
3
bře 24
2587
0
říj 23
1224
1
úno 23
3572
1
zář 22
3815