[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:
parent
554b33978a
commit
3fa8c6beb7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue