コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6054 ビュー

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. 

アバター
破棄

Look how inheritance work in odoo: https://goo.gl/4Zyc9d

最善の回答

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