Add missing comment on migration

This commit is contained in:
Cédric Krier
2008-11-25 18:32:08 +01:00
parent 08a29a71e1
commit cf2b00cd81
+2
View File
@@ -111,6 +111,8 @@ class Journal(OSV):
def _auto_init(self, cursor, module_name):
super(Journal, self)._auto_init(cursor, module_name)
table = table_handler(cursor, self._table, self._name, module_name)
# Migration from 1.0 sequence Many2One change into Property
if 'sequence' in table.table:
property_obj = self.pool.get('ir.property')
cursor.execute('SELECT id, sequence FROM "' + self._table +'"')