forked from Techsystech/web
FIX comments PEP8
parent
4726c966fe
commit
581bfbed26
|
@ -87,7 +87,7 @@ class tile(orm.Model):
|
||||||
def add(self, cr, uid, vals, context=None):
|
def add(self, cr, uid, vals, context=None):
|
||||||
# TODO: check if string
|
# TODO: check if string
|
||||||
if 'model_id' in vals:
|
if 'model_id' in vals:
|
||||||
# need to relace model_name with its id
|
# need to replace model_name with its id
|
||||||
model_ids = self.pool.get('ir.model').search(cr, uid,
|
model_ids = self.pool.get('ir.model').search(cr, uid,
|
||||||
[('model', '=',
|
[('model', '=',
|
||||||
vals['model_id'])])
|
vals['model_id'])])
|
||||||
|
|
Loading…
Reference in New Issue