Browse Source

[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used

pull/119/head
sebalix 10 years ago
parent
commit
05d42489e5
  1. 1
      auditlog/models/rule.py

1
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()

Loading…
Cancel
Save