From 6633da6631aae08ab54695d18e503032b02fb891 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 27 May 2019 11:35:36 +0200 Subject: [PATCH] [FIX] account_payment_order: Fix closing ) --- account_payment_order/migrations/9.0.1.0.0/pre-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/migrations/9.0.1.0.0/pre-migration.py b/account_payment_order/migrations/9.0.1.0.0/pre-migration.py index b9c87b52e..4c4449127 100644 --- a/account_payment_order/migrations/9.0.1.0.0/pre-migration.py +++ b/account_payment_order/migrations/9.0.1.0.0/pre-migration.py @@ -198,7 +198,7 @@ def populate_computed_fields(env): AND cr.company_id = bpl2.company_id AND cr.date_start <= COALESCE(apl.date, aml.date_maturity) AND (cr.date_end is null - OR cr.date_end > COALESCE(apl.date, aml.date_maturity) + OR cr.date_end > COALESCE(apl.date, aml.date_maturity)) ) WHERE bpl2.id = bpl.id """, (AsIs(env['res.currency']._select_companies_rates()), ),