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) {
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"fieldtype": "Text",
|
||||
"label": "Message"
|
||||
@@ -444,7 +444,7 @@
|
||||
"icon": "fa fa-puzzle-piece",
|
||||
"idx": 29,
|
||||
"max_attachments": 4,
|
||||
"modified": "2019-09-24 15:02:50.208301",
|
||||
"modified": "2020-04-09 14:17:15.524529",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Projects",
|
||||
"name": "Project",
|
||||
|
||||
Reference in New Issue
Block a user