mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
fix: Project Update Email Error (#21209)
* fix: Project Update Email Error * fix: Removed mandatory depends on Co-authored-by: Himanshu <himanshuwarekar@yahoo.com>
This commit is contained in:
@@ -118,6 +118,11 @@ frappe.ui.form.on("Project", {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
collect_progress: function(frm) {
|
||||||
|
if (frm.doc.collect_progress) {
|
||||||
|
frm.set_df_property("message", "reqd", 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function open_form(frm, doctype, child_doctype, parentfield) {
|
function open_form(frm, doctype, child_doctype, parentfield) {
|
||||||
|
|||||||
@@ -435,7 +435,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "collect_progress",
|
"depends_on": "collect_progress",
|
||||||
"description": "Message will sent to users to get their status on the project",
|
"description": "Message will be sent to the users to get their status on the Project",
|
||||||
"fieldname": "message",
|
"fieldname": "message",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Text",
|
||||||
"label": "Message"
|
"label": "Message"
|
||||||
@@ -444,7 +444,7 @@
|
|||||||
"icon": "fa fa-puzzle-piece",
|
"icon": "fa fa-puzzle-piece",
|
||||||
"idx": 29,
|
"idx": 29,
|
||||||
"max_attachments": 4,
|
"max_attachments": 4,
|
||||||
"modified": "2019-09-24 15:02:50.208301",
|
"modified": "2020-04-09 14:17:15.524529",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Projects",
|
"module": "Projects",
|
||||||
"name": "Project",
|
"name": "Project",
|
||||||
|
|||||||
Reference in New Issue
Block a user