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
99 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
96
1
May 16
93
1
Aug 16
114
1
May 16
95
1
May 16
109