Fix for new modeldb

This commit is contained in:
Cédric Krier
2009-02-02 13:11:29 +01:00
parent 42e2460213
commit 1be0a286f7
+2 -2
View File
@@ -829,8 +829,8 @@ class PurchaseLine(OSV):
'an "account_expense" default property!',
})
def _auto_init(self, cursor, module_name):
super(PurchaseLine, self)._auto_init(cursor, module_name)
def init(self, cursor, module_name):
super(PurchaseLine, self).init(cursor, module_name)
table = table_handler(cursor, self._table, self._name, module_name)
# Migration from 1.0 comment change into note