fix: Communication owner mismatch issue
This commit is contained in:
parent
4b73ea7c8f
commit
df3d049697
2 changed files with 3 additions and 1 deletions
|
|
@ -142,6 +142,8 @@ frappe.ui.form.NewTimeline = class {
|
|||
}
|
||||
|
||||
get_communication_timeline_content(doc) {
|
||||
doc.owner = doc.sender;
|
||||
doc.user_full_name = doc.sender_full_name;
|
||||
let communication_content = $(frappe.render_template('timeline_message_box', { doc }));
|
||||
this.setup_reply(communication_content, doc);
|
||||
return communication_content;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
{{ frappe.avatar(doc.owner, "avatar-medium") }}
|
||||
</span>
|
||||
<span class="margin-left">
|
||||
{{ frappe.user.full_name(doc.owner) }}
|
||||
{{ doc.user_full_name || frappe.user.full_name(doc.owner) }}
|
||||
<div class="text-muted">
|
||||
{{ comment_when(doc.creation) }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue