From b857ac00ce6c4917c9752f34f9320cebc5618f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 20 Apr 2021 09:18:58 +0200 Subject: [PATCH] Remove contextual domain on company issue10302 review338141004 --- subscription.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/subscription.py b/subscription.py index 70cb0b2d6e..902c669444 100644 --- a/subscription.py +++ b/subscription.py @@ -34,10 +34,6 @@ class Subscription(Workflow, ModelSQL, ModelView): states={ 'readonly': Eval('state') != 'draft', }, - domain=[ - ('id', If(Eval('context', {}).contains('company'), '=', '!='), - Eval('context', {}).get('company', -1)), - ], depends=['state'], help="Make the subscription belong to the company.")