From ef5afda076888bbe8b0ea9f9d58a8d4ca11ef3c6 Mon Sep 17 00:00:00 2001 From: Moens Alexandre Date: Mon, 27 Nov 2023 09:47:17 +0100 Subject: [PATCH] [FIX] pos_viva_wallet: neutralize This commit adds the missing neutralisation necessary for the `pos_viva_wallet` module introduced in [1] The purpose of the standard neutralisation framework is to allow us to create database copies that will not interract with external systems in ways that could impact the production database (or if it is not possible to prevent the interractions, make sure that they are benign or wont result in actual changes), or impact the customers of the operator of the production database. This is mainly useful to allow safe support investigation on database duplicates. [1] https://github.com/odoo/odoo/pull/140353 closes odoo/odoo#143741 Signed-off-by: Alexandre Moens (mao) --- addons/pos_viva_wallet/data/neutralize.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 addons/pos_viva_wallet/data/neutralize.sql diff --git a/addons/pos_viva_wallet/data/neutralize.sql b/addons/pos_viva_wallet/data/neutralize.sql new file mode 100644 index 00000000000..1f1d9852b87 --- /dev/null +++ b/addons/pos_viva_wallet/data/neutralize.sql @@ -0,0 +1,2 @@ +UPDATE pos_payment_method + SET viva_wallet_test_mode = true;