Odoo Help

1

0
2 Answers
0
Avatar

subbarao

--subbarao--

1299
| 5 2 8
Chennai, India
--subbarao--


subbarao
16-10-18 23:56

I think in Odoo this feature is not available

0
Michael Jurke
16-10-18 19:44

It's some time ago, however, it may be helpful to sombody. For my dialog (TransientModel) I created a helper field:


def _get_has_mygroup(self):
return self.env.user.has_group('mygroup')

has_mygroup = fields.Boolean(default=_get_has_mygroup)


Afterwards I use it for readonly or invisible conditions.

1 Opmerking
subbarao
16-10-18 23:57

Hello, This also based on group only

Stel een vraag
Writer
Keep Informed
0 volger(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now