Remove contextual domain on company
issue10302 review338141004
This commit is contained in:
1 parent
3b07aa17bb
commit
b857ac00ce
1 file changed
-4
@@ -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.")
|
||||
|
||||
|
||||
Reference in new issue
Block a user