From 993b63aaddf55f3042004bcf09330d6aa3d98995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 7 May 2022 11:12:25 +0200 Subject: [PATCH] Add missing comment about migration --- statement.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/statement.py b/statement.py index d0b426bc4e..9b24895b69 100644 --- a/statement.py +++ b/statement.py @@ -793,6 +793,8 @@ class Line(origin_mixin(_states), sequence_ordered(), ModelSQL, ModelView): table_h = cls.__table_handler__(module) cursor = Transaction().connection.cursor() + + # Migration from 6.2: replace invoice by related_to if table_h.column_exist('invoice'): cursor.execute(*table.update( [table.related_to],