fix(merge): merge develop

This commit is contained in:
Rushabh Mehta
2020-12-08 16:23:09 +05:30
306 changed files with 8707 additions and 2317 deletions

View File

@@ -49,7 +49,10 @@ frappe.ui.form.on("Task", {
},
callback: function (r) {
if (r.message.length > 0) {
frappe.msgprint(__(`Cannot convert it to non-group. The following child Tasks exist: ${r.message.join(", ")}.`));
let message = __('Cannot convert Task to non-group because the following child Tasks exist: {0}.',
[r.message.join(", ")]
);
frappe.msgprint(message);
frm.reload_doc();
}
}