From affc34135b088ada063d1b83cf7f9eadd735e91f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 3 Jul 2021 09:38:01 +0200 Subject: [PATCH] account_payment_partner: add optional="hide" on payment mode in invoice tree view --- account_payment_order/migrations/14.0.1.3.0/pre-migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_payment_order/migrations/14.0.1.3.0/pre-migration.py b/account_payment_order/migrations/14.0.1.3.0/pre-migration.py index 64171a7af..f5f7ace2c 100644 --- a/account_payment_order/migrations/14.0.1.3.0/pre-migration.py +++ b/account_payment_order/migrations/14.0.1.3.0/pre-migration.py @@ -2,9 +2,9 @@ # @author: Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + def migrate(cr, version): if not version: return - cr.execute( - "UPDATE account_payment_order SET state='uploaded' WHERE state='done'") + cr.execute("UPDATE account_payment_order SET state='uploaded' WHERE state='done'")