From 39f86cfa60e907becb571e908ebb5ec1dd6a96c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Oct 2022 09:31:34 +0200 Subject: [PATCH] Document all context keys of rule domain --- ir.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ir.py b/ir.py index 5565a484b4..5508981fe7 100644 --- a/ir.py +++ b/ir.py @@ -54,7 +54,8 @@ class Rule(metaclass=PoolMeta): super().__setup__() cls.domain.help += ( '\n- "employee" from the current user' - '\n- "companies" from the current user') + '\n- "employees" as list of ids from the current user' + '\n- "companies" as list of ids from the current user') @classmethod def _get_cache_key(cls):