Prevent to create more than one resource type translation per module

issue11343
review415551004
This commit is contained in:
Cédric Krier committed 2022-09-25 20:19:30 +02:00
1 parent 3676c95c69
commit fe4a6317ec
1 file changed
+3 -2
+3 -2
View File
@@ -52,8 +52,9 @@ class Rule(metaclass=PoolMeta):
@classmethod
def __setup__(cls):
super().__setup__()
cls.domain.help += '\n- "employee" from the current user'
cls.domain.help += '\n- "companies" from the current user'
cls.domain.help += (
'\n- "employee" from the current user'
'\n- "companies" from the current user')
@classmethod
def _get_cache_key(cls):