diff --git a/sale.py b/sale.py index 0d389b6e36..aaa3e86484 100644 --- a/sale.py +++ b/sale.py @@ -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'):