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
- 项目
- MRP
此问题已终结
1
回复
3247
查看
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
|
2660 | ||
|
|
3
3月 24
|
3190 | ||
|
|
0
10月 23
|
1736 | ||
|
|
1
2月 23
|
4494 | ||
|
|
1
9月 22
|
4352 |