Add missing comment about migration

This commit is contained in:
Cédric Krier
2022-05-07 11:12:25 +02:00
parent 67dd207f3e
commit 993b63aadd
+2
View File
@@ -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],