From b5eaec686c03ed2b4dfe863d57adbdba762a72ac Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Sun, 1 Feb 2015 17:25:27 +0100 Subject: [PATCH] [FIX] flake8 --- auditlog/models/rule.py | 1 - 1 file changed, 1 deletion(-) diff --git a/auditlog/models/rule.py b/auditlog/models/rule.py index 38a635ba1..86a8e43bf 100644 --- a/auditlog/models/rule.py +++ b/auditlog/models/rule.py @@ -292,7 +292,6 @@ class auditlog_rule(models.Model): if new_values is None: new_values = EMPTY_DICT log_model = self.env['auditlog.log'] - ir_model = self.env['ir.model'] for res_id in res_ids: model_model = self.env[res_model] res_name = model_model.browse(res_id).name_get()