Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2514 Tampilan

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!

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Jan 24
23215
0
Agu 23
2331
5
Sep 21
17574
3
Jan 21
16844
0
Des 19
3957