I have a custom module that adds features to the invoices, but I want to take an account models field and remove its invisible attribute. I know how to do this from developer mode, but I would like to enforce it with my invoicing module.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
6054
ビュー
Inherit the view and use xpath with attributes tag
Eg:
<xpath expr="//field[@name='account_id']" position="attributes">
<attribute name="invisible">False</attribute>
</xpath>
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
3
2月 25
|
3047 | ||
|
1
11月 24
|
2855 | ||
|
1
12月 23
|
2690 | ||
|
1
4月 21
|
7834 | ||
|
6
1月 24
|
15586 |
Look how inheritance work in odoo: https://goo.gl/4Zyc9d