[FIX] osv/ir_model: forgot to remove the module arg in ir_model.

bzr revid: vmt@openerp.com-20110527124051-hqc566wumejw4u1s
This commit is contained in:
Vo Minh Thu 2011-05-27 14:40:51 +02:00
parent 554b33978a
commit 3fa8c6beb7
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class ir_model(osv.osv):
pass
x_custom_model._name = model
x_custom_model._module = False
a = x_custom_model.createInstance(self.pool, '', cr)
a = x_custom_model.createInstance(self.pool, cr)
if (not a._columns) or ('x_name' in a._columns.keys()):
x_name = 'x_name'
else: