changeset 4384c9d0a419 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset&node=4384c9d0a419
description:
        Remove _check_access and _skip_warnings keys from cache's context

        issue10377
        review351911002
diffstat:

 trytond/cache.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 1d8b022f4010 -r 4384c9d0a419 trytond/cache.py
--- a/trytond/cache.py  Sun May 16 15:33:53 2021 +0200
+++ b/trytond/cache.py  Sun May 16 17:52:30 2021 +0200
@@ -86,6 +86,8 @@
             context = Transaction().context.copy()
             context.pop('client', None)
             context.pop('_request', None)
+            context.pop('_check_access', None)
+            context.pop('_skip_warnings', None)
             return (key, Transaction().user, freeze(context))
         return key
 

Reply via email to