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
371 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
361
1
May 16
405
1
Aug 16
435
1
May 16
363
1
May 16
473