changeset 5afee301915e in modules/sale_subscription:default
details: 
https://hg.tryton.org/modules/sale_subscription?cmd=changeset&node=5afee301915e
description:
        Remove contextual domain on company

        issue10302
        review338141004
diffstat:

 subscription.py |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 5e5472e3f8f5 -r 5afee301915e subscription.py
--- a/subscription.py   Sun Apr 11 18:33:47 2021 +0200
+++ b/subscription.py   Tue Apr 20 09:18:58 2021 +0200
@@ -34,10 +34,6 @@
         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.")
 

Reply via email to