Remove contextual domain on company

issue10302
review338141004
This commit is contained in:
Cédric Krier committed 2021-04-20 09:18:58 +02:00
1 parent 3b07aa17bb
commit b857ac00ce
1 file changed
-4
-4
View File
@@ -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.")