From 0836262dd3249e17d1a41030129cea38ce40d70a Mon Sep 17 00:00:00 2001 From: sebalix Date: Fri, 30 Jan 2015 11:18:25 +0100 Subject: [PATCH] [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used --- 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()