跳至內容
選單
此問題已被標幟
1 回覆
2737 瀏覽次數

How to remove street 2 field?


頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
12月 24
2127
3
3月 24
2721
0
10月 23
1341
1
2月 23
3761
1
9月 22
3908