mirror of https://github.com/OCA/web.git
FIX comments PEP8
parent
4726c966fe
commit
581bfbed26
|
@ -87,7 +87,7 @@ class tile(orm.Model):
|
|||
def add(self, cr, uid, vals, context=None):
|
||||
# TODO: check if string
|
||||
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', '=',
|
||||
vals['model_id'])])
|
||||
|
|
Loading…
Reference in New Issue