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'")