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
515 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
491
1
May 16
512
1
Aug 16
538
1
May 16
468
1
May 16
571