Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2342 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
jan. 24
22977
0
aug. 23
2238
5
sep. 21
17405
3
jan. 21
16341
0
dec. 19
3852