Use the new TableHandler interface

This commit is contained in:
Cédric Krier
2009-03-17 22:39:49 +01:00
parent 108f686d9a
commit dee8a567df
+1 -1
View File
@@ -944,7 +944,7 @@ class SaleLine(ModelSQL, ModelView):
def init(self, cursor, module_name):
super(SaleLine, self).init(cursor, module_name)
table = TableHandler(cursor, self._table, self._name, module_name)
table = TableHandler(cursor, self, module_name)
# Migration from 1.0 comment change into note
if table.column_exist('comment'):