How to remove street 2 field?
Această întrebare a fost marcată
1
Răspunde
4153
Vizualizări
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
4
dec. 24
|
3493 | ||
|
|
3
mar. 24
|
4006 | ||
|
|
0
oct. 23
|
2287 | ||
|
|
2
apr. 26
|
5763 | ||
|
|
1
sept. 22
|
5155 |