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

Is there a way to use a field of a certain model in attrs attribute without showing that specific field in the view form?

This is the error:

Field 'type_name' used in attrs ({'invisible': [('type_name', '=', 'Invoice')]}) must be present in view but is missing.

Many thanks!

アバター
破棄
最善の回答

Hi 

Make sure that the field type_name is present in view,otherwise add the following code in view record 

<field name="type_name" invisible="1"/>


Regards

アバター
破棄
著作者 最善の回答

Thank you, I just make the field to be invisible so that it doesn't show on the view form

アバター
破棄
関連投稿 返信 ビュー 活動
4
1月 24
23782
0
8月 23
2638
5
9月 21
18057
3
1月 21
18033
0
12月 19
4260