From fe4a6317ecac49fab6432edb3aa6841bab5439a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 25 Sep 2022 20:19:30 +0200 Subject: [PATCH] Prevent to create more than one resource type translation per module issue11343 review415551004 --- ir.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ir.py b/ir.py index d3919f22df..5565a484b4 100644 --- a/ir.py +++ b/ir.py @@ -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):