Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2709 Переглядів

How to remove street 2 field?


Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
груд. 24
2109
3
бер. 24
2706
0
жовт. 23
1330
1
лют. 23
3737
1
вер. 22
3885