Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
2856 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Jan. 24
23797
0
Aug. 23
2655
5
Sept. 21
18078
3
Jan. 21
18063
0
Dez. 19
4267