changeset 12d24c6153df in modules/web_shop_vue_storefront:default
details:
https://hg.tryton.org/modules/web_shop_vue_storefront?cmd=changeset&node=12d24c6153df
description:
Skip warnings for non-interactive operations
issue10096
review343671002
diffstat:
routes.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 44deab4cf37b -r 12d24c6153df routes.py
--- a/routes.py Sat Apr 10 23:46:24 2021 +0200
+++ b/routes.py Mon Apr 12 17:44:16 2021 +0200
@@ -20,7 +20,7 @@
'/<database_name>/web_shop_vue_storefront/<shop>/<target>/<action>/<sku>',
methods={'GET'})
@with_pool
-@with_transaction()
+@with_transaction(context={'_skip_warnings': True})
def route(request, pool, shop, target, action, sku=None):
Shop = pool.get('web.shop')
Session = pool.get('web.user.session')