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:
Marica
2020-04-14 11:47:22 +05:30
committed by GitHub
parent 02a9b5a8a5
commit 7841653a03
2 changed files with 7 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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",