changeset ef9beca7ffde in modules/account_payment_braintree:default
details: 
https://hg.tryton.org/modules/account_payment_braintree?cmd=changeset;node=ef9beca7ffde
description:
        Do not depend on context for cache of customer payment methods

        issue9747
        review292541002
diffstat:

 account.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 3ce105f9118c -r ef9beca7ffde account.py
--- a/account.py        Mon Nov 02 15:46:21 2020 +0100
+++ b/account.py        Thu Nov 12 21:56:17 2020 +0100
@@ -957,7 +957,8 @@
         'account_payment_braintree_customer.payment_methods',
         duration=config.getint(
             'account_payment_braintree', 'payment_methods_cache',
-            default=15 * 60))
+            default=15 * 60),
+        context=False)
 
     @classmethod
     def __setup__(cls):

Reply via email to