Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2688 Ansichten

How to remove street 2 field?


Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Dez. 24
2082
3
März 24
2699
0
Okt. 23
1315
1
Feb. 23
3731
1
Sept. 22
3884