Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2338 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
led 24
22972
0
srp 23
2236
5
zář 21
17403
3
led 21
16335
0
pro 19
3850