How to remove street 2 field?
Diese Frage wurde gekennzeichnet
1
Antworten
4148
Ansichten
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
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
4
Dez. 24
|
3488 | ||
|
|
3
März 24
|
4005 | ||
|
|
0
Okt. 23
|
2287 | ||
|
|
2
Apr. 26
|
5756 | ||
|
|
1
Sept. 22
|
5139 |