From b478c2d2416b5de1cfff56bc2d20c21e02e8216c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 5 May 2021 23:14:54 +0200 Subject: [PATCH] Remove _request key from cache's context issue10376 review351901002 (grafted from 32c2df0914f6702aa98adb0a6acbd744d93ec057) --HG-- branch : 6.0 --- trytond/cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trytond/cache.py b/trytond/cache.py index ae1fc3381a..9da718d65b 100644 --- a/trytond/cache.py +++ b/trytond/cache.py @@ -85,6 +85,7 @@ class BaseCache(object): if self.context: context = Transaction().context.copy() context.pop('client', None) + context.pop('_request', None) return (key, Transaction().user, freeze(context)) return key