[fix] When composing email via timeline, if no last email, set subject as [DocType]: [Name]
This commit is contained in:
parent
265dbd1473
commit
69ca8a73d5
1 changed files with 4 additions and 0 deletions
|
|
@ -118,6 +118,10 @@ frappe.views.CommunicationComposer = Class.extend({
|
|||
this.subject = "Re: " + this.subject;
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.subject) {
|
||||
this.subject = __(this.frm.doctype) + ': ' + this.frm.docname;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue