Fix sig_logs for new rec_name
This commit is contained in:
1 parent
01a08a1913
commit
f597ecaefb
1 file changed
+2
-5
@@ -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'):
|
||||
|
||||
Reference in new issue
Block a user