[FIX] don't error out on empty group condition

pull/236/head
Holger Brunn 2015-08-26 09:16:51 +02:00
parent a314fb25e6
commit 9d626f207c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class res_groups(models.Model):
result = all(
self.mapped(
lambda this: safe_eval(
this.dynamic_group_condition,
this.dynamic_group_condition or 'False',
{
'user': self.env.user,
'any': any,