Fix sig_logs for new rec_name

This commit is contained in:
Cédric Krier committed 2009-02-23 13:31:53 +01:00
1 parent 01a08a1913
commit f597ecaefb
1 file changed
+2 -5
+2 -5
View File
@@ -240,9 +240,9 @@ class Form(SignalEvent):
fields = [
('id', _('ID:')),
('create_uid', _('Creation User:')),
('create_uid.rec_name', _('Creation User:')),
('create_date', _('Creation Date:')),
('write_uid', _('Latest Modification by:')),
('write_uid.rec_name', _('Latest Modification by:')),
('write_date', _('Latest Modification Date:')),
]
@@ -256,9 +256,6 @@ class Form(SignalEvent):
message_str = ''
for line in res:
for (key, val) in fields:
if line.get(key, False) and \
(key in ('create_uid', 'write_uid')):
line[key] = line[key][1]
value = str(line.get(key, False) or '/')
if line.get(key, False) \
and key in ('create_date', 'write_date'):