跳至内容
菜单
此问题已终结

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
2012
3
3月 24
2642
0
10月 23
1274
1
2月 23
3640
1
9月 22
3844