Always raise exception in table handler

issue7175
review40161002
This commit is contained in:
Cédric Krier committed 2018-03-15 00:46:01 +01:00
1 parent a568377267
commit 1bca867f56
1 file changed
+1 -1
+1 -1
View File
@@ -1117,7 +1117,7 @@ class PurchaseLine(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')