How to remove street 2 field?
To pytanie dostało ostrzeżenie
1
Odpowiedz
4154
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
4
gru 24
|
3493 | ||
|
|
3
mar 24
|
4006 | ||
|
|
0
paź 23
|
2287 | ||
|
|
2
kwi 26
|
5764 | ||
|
|
1
wrz 22
|
5156 |