From 5ae250c8cec9a269e7f1a412c268d22fdbacd0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 3 Jan 2019 12:00:31 +0100 Subject: [PATCH] Fix migration to use ir.calendar issue7815 issue7962 --- recurrence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recurrence.py b/recurrence.py index 2b7dc324b4..48a6f5e7a3 100644 --- a/recurrence.py +++ b/recurrence.py @@ -110,7 +110,7 @@ class RecurrenceRule(ModelSQL, ModelView): if table_h.column_exist('wkst'): cursor = transaction.connection.cursor() update = transaction.connection.cursor() - cursor.execute(*day.select([day.id, day.index])) + cursor.execute(*day.select(day.id, day.index)) for day_id, index in cursor: update.execute(*table.update( [table.week_start_day], [day_id],