|
@ -342,8 +342,6 @@ class auditlog_rule(models.Model): |
|
|
""" |
|
|
""" |
|
|
vals = { |
|
|
vals = { |
|
|
'field_id': field.id, |
|
|
'field_id': field.id, |
|
|
'field_name': field.name, |
|
|
|
|
|
'field_description': field.field_description, |
|
|
|
|
|
'log_id': log.id, |
|
|
'log_id': log.id, |
|
|
'old_value': old_values[log.res_id][field.name], |
|
|
'old_value': old_values[log.res_id][field.name], |
|
|
'old_value_text': old_values[log.res_id][field.name], |
|
|
'old_value_text': old_values[log.res_id][field.name], |
|
@ -378,8 +376,6 @@ class auditlog_rule(models.Model): |
|
|
""" |
|
|
""" |
|
|
vals = { |
|
|
vals = { |
|
|
'field_id': field.id, |
|
|
'field_id': field.id, |
|
|
'field_name': field.name, |
|
|
|
|
|
'field_description': field.field_description, |
|
|
|
|
|
'log_id': log.id, |
|
|
'log_id': log.id, |
|
|
'old_value': False, |
|
|
'old_value': False, |
|
|
'old_value_text': False, |
|
|
'old_value_text': False, |
|
|