From 581bfbed26b8b1abb1b78e6315da6e66e7785f88 Mon Sep 17 00:00:00 2001 From: Markus Schneider Date: Thu, 20 Nov 2014 10:25:51 +0100 Subject: [PATCH] FIX comments PEP8 --- web_dashboard_tile/tile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_dashboard_tile/tile.py b/web_dashboard_tile/tile.py index 323db992..b64f8bcd 100644 --- a/web_dashboard_tile/tile.py +++ b/web_dashboard_tile/tile.py @@ -65,7 +65,7 @@ class tile(orm.Model): act_obj = self.pool.get('ir.actions.act_window') result = act_obj.read(cr, uid, [tile_object.action_id.id], context=context)[0] - #FIXME: restore original Domain + Filter would be better + # FIXME: restore original Domain + Filter would be better result['domain'] = tile_object.domain return result @@ -85,9 +85,9 @@ class tile(orm.Model): } def add(self, cr, uid, vals, context=None): - #TODO: check if string + # 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'])])