Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

This question has been flagged
1 Reply
36 Views

How can I only show a field only when a user is in debug mode?

Avatar
Discard
Author Best Answer

Use the group 'base.group_no_one'. For example, in the field declaration:

example_field = fields.Char(string='Example Field', 
                            groups='base.group_no_one')
Avatar
Discard
Related Posts Replies Views Activity
1
Jun 16
37
1
May 16
34
1
Aug 16
55
1
May 16
33
1
May 16
50