diff --git a/erpnext/projects/doctype/project/project.js b/erpnext/projects/doctype/project/project.js
index 1e36a95..40b065d 100644
--- a/erpnext/projects/doctype/project/project.js
+++ b/erpnext/projects/doctype/project/project.js
@@ -122,24 +122,26 @@
 });
 
 frappe.ui.form.on("Project", "validate", function (frm) {
-	frappe.call({
-		method: "erpnext.projects.doctype.project.project.times_check",
-		args: {
-			"from1": frm.doc.from,
-			"to": frm.doc.to,
-			"first_email": frm.doc.first_email,
-			"second_email": frm.doc.second_email,
-			"daily_time_to_send": frm.doc.daily_time_to_send,
-			"weekly_time_to_send": frm.doc.weekly_time_to_send
+	if (frm.doc.collect_progress == 1) {
+		frappe.call({
+			method: "erpnext.projects.doctype.project.project.times_check",
+			args: {
+				"from1": frm.doc.from,
+				"to": frm.doc.to,
+				"first_email": frm.doc.first_email,
+				"second_email": frm.doc.second_email,
+				"daily_time_to_send": frm.doc.daily_time_to_send,
+				"weekly_time_to_send": frm.doc.weekly_time_to_send
 
-		},
-		callback: function (r) {
-			frm.set_value("from", r.message.from1);
-			frm.set_value("to", r.message.to);
-			frm.set_value("first_email", r.message.first_email);
-			frm.set_value("second_email", r.message.second_email);
-			frm.set_value("daily_time_to_send", r.message.daily_time_to_send);
-			frm.set_value("weekly_time_to_send", r.message.weekly_time_to_send);
-		}
-	});
+			},
+			callback: function (r) {
+				frm.set_value("from", r.message.from1);
+				frm.set_value("to", r.message.to);
+				frm.set_value("first_email", r.message.first_email);
+				frm.set_value("second_email", r.message.second_email);
+				frm.set_value("daily_time_to_send", r.message.daily_time_to_send);
+				frm.set_value("weekly_time_to_send", r.message.weekly_time_to_send);
+			}
+		});
+	}
 });
\ No newline at end of file
diff --git a/erpnext/projects/doctype/project/project.py b/erpnext/projects/doctype/project/project.py
index 93ff62d..27abae8 100644
--- a/erpnext/projects/doctype/project/project.py
+++ b/erpnext/projects/doctype/project/project.py
@@ -363,17 +363,17 @@
 
 @frappe.whitelist()
 def times_check(from1, to, first_email, second_email, daily_time_to_send, weekly_time_to_send):
-    from1 = datetime.datetime.strptime(from1, "%H:%M:%S")
+    from1 = datetime.datetime.strptime(from1, "%H:%M:%S.%f")
     from1 = from1.strftime("%H:00:00")
-    to = datetime.datetime.strptime(to, "%H:%M:%S")
+    to = datetime.datetime.strptime(to, "%H:%M:%S.%f")
     to = to.strftime("%H:00:00")
-    first_email = datetime.datetime.strptime(first_email, "%H:%M:%S")
+    first_email = datetime.datetime.strptime(first_email, "%H:%M:%S.%f")
     first_email = first_email.strftime("%H:00:00")
-    second_email = datetime.datetime.strptime(second_email, "%H:%M:%S")
+    second_email = datetime.datetime.strptime(second_email, "%H:%M:%S.%f")
     second_email = second_email.strftime("%H:00:00")
-    daily_time_to_send = datetime.datetime.strptime(daily_time_to_send, "%H:%M:%S")
+    daily_time_to_send = datetime.datetime.strptime(daily_time_to_send, "%H:%M:%S.%f")
     daily_time_to_send = daily_time_to_send.strftime("%H:00:00")
-    weekly_time_to_send = datetime.datetime.strptime(weekly_time_to_send, "%H:%M:%S")
+    weekly_time_to_send = datetime.datetime.strptime(weekly_time_to_send, "%H:%M:%S.%f")
     weekly_time_to_send = weekly_time_to_send.strftime("%H:00:00")
     return {"from1": from1, "to": to, "first_email": first_email, "second_email": second_email,"daily_time_to_send": daily_time_to_send, "weekly_time_to_send": weekly_time_to_send}
 
