How to remove street 2 field?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
2606
查看
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 |