[FIX]audittrail : Removed logging for id because its value will never be changed, and we do not keep the value for id from get_data

bzr revid: mma@tinyerp.com-20121101053146-w2oplbaexl6libkg
This commit is contained in:
Mayur Maheshwari (OpenERP)
2012-11-01 11:01:46 +05:30
parent b006809773
commit 7bcd4bcdd4
+2
View File
@@ -388,6 +388,8 @@ class audittrail_objects_proxy(object_proxy):
}
# loop on all the fields
for field_name, field_definition in pool.get(model.model)._all_columns.items():
if field_name in ('__last_update', 'id'):
continue
#if the field_list param is given, skip all the fields not in that list
if field_list and field_name not in field_list:
continue