From 5d11cf0bc513daec306082f7c7a762e9211de891 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 13 Jun 2017 19:59:42 +0200 Subject: [PATCH] [FIX] account_payment_order: Add 'sent' state to value mapping --- account_payment_order/migrations/9.0.1.0.0/post-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/migrations/9.0.1.0.0/post-migration.py b/account_payment_order/migrations/9.0.1.0.0/post-migration.py index ee5c00e7668b..dba5b66d01c3 100644 --- a/account_payment_order/migrations/9.0.1.0.0/post-migration.py +++ b/account_payment_order/migrations/9.0.1.0.0/post-migration.py @@ -17,7 +17,7 @@ def map_payment_type(cr): openupgrade.map_values( cr, openupgrade.get_legacy_name('state'), 'state', - [('done', 'uploaded')], + [('done', 'uploaded'), ('sent', 'generated')], table='account_payment_order', write='sql')