Set domain_get mode correctly
review385001
This commit is contained in:
1 parent
28ce541b24
commit
a47ecf117c
1 file changed
+1
-1
+1
-1
@@ -158,7 +158,7 @@ class Rule(ModelSQL, ModelView):
|
||||
if not Transaction().context.get('user'):
|
||||
return '', []
|
||||
with Transaction().set_user(Transaction().context['user']):
|
||||
return self.domain_get(model_name)
|
||||
return self.domain_get(model_name, mode=mode)
|
||||
|
||||
pool = Pool()
|
||||
rule_group_obj = pool.get('ir.rule.group')
|
||||
|
||||
Reference in new issue
Block a user