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
427 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
414
1
May 16
463
1
Aug 16
486
1
May 16
419
1
May 16
524