From 5200c50436150f7825be9050f46a1cf3c3963a62 Mon Sep 17 00:00:00 2001 From: Pablo Date: Mon, 6 Oct 2014 10:29:32 +0200 Subject: [PATCH] [FIX] Pep8 --- .../migrations/7.0.1.0.2/post-migration.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py b/account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py index a562adca..53cc6106 100644 --- a/account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py +++ b/account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py @@ -28,7 +28,8 @@ def migrate(cr, version): " (SELECT date from account_move_line" " WHERE reconcile_id = acm.reconcile_id" " ORDER BY date DESC LIMIT 1)" - " WHERE last_rec_date IS NULL AND reconcile_id IS NOT NULL;") + " WHERE last_rec_date IS NULL" + " AND reconcile_id IS NOT NULL;") cr.execute("UPDATE account_move_line as acm " " SET last_rec_date =" @@ -36,4 +37,5 @@ def migrate(cr, version): " WHERE reconcile_partial_id" " = acm.reconcile_partial_id" " ORDER BY date DESC LIMIT 1)" - " WHERE last_rec_date IS NULL AND reconcile_partial_id IS NOT NULL;") + " WHERE last_rec_date IS NULL" + " AND reconcile_partial_id IS NOT NULL;")