From 87d866836bfea12dd67222865962188b1113a591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 3 Feb 2016 22:02:19 +0100 Subject: [PATCH] Fix migration of new date field on Reconciliation The migration should happen only if the account.move.line table exists otherwise it is a fresh new installation which doesn't require migration. --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index fa36604bb4..5eeaf837ae 100644 --- a/move.py +++ b/move.py @@ -502,7 +502,7 @@ class Reconciliation(ModelSQL, ModelView): super(Reconciliation, cls).__register__(module_name) # Migration from 3.8: new date field - if not date_exist: + if not date_exist and TableHandler.table_exist(cursor, Line._table): cursor.execute(*sql_table.update( [sql_table.date], line.join(move,