Always raise exception in table handler

issue7175
review40161002
This commit is contained in:
Cédric Krier
2018-03-15 00:46:18 +01:00
parent 9f77575a36
commit 5dcefc1111
+1 -1
View File
@@ -1142,7 +1142,7 @@ class SaleLine(sequence_ordered(), ModelSQL, ModelView):
cursor.execute(*sql_table.update(
columns=[sql_table.note],
values=[sql_table.comment]))
table.drop_column('comment', exception=True)
table.drop_column('comment')
# Migration from 2.4: drop required on sequence
table.not_null_action('sequence', action='remove')