Skip to Content
Menú
This question has been flagged
2 Respostes
1697 Vistes

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
Descartar
Best Answer

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
Descartar
Autor Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
de gen. 24
22261
0
d’ag. 23
1654
5
de set. 21
16796
3
de gen. 21
15084
0
de des. 19
3562