How to remove street 2 field?
Це запитання позначене
1
Відповісти
4213
Переглядів
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
4
груд. 24
|
3562 | ||
|
|
3
бер. 24
|
4067 | ||
|
|
0
жовт. 23
|
2381 | ||
|
|
2
квіт. 26
|
5846 | ||
|
|
1
вер. 22
|
5245 |