[minor][fix] call update_percent_complete via validate (#15235)

This commit is contained in:
Saurabh 2018-08-28 14:01:34 +05:30 committed by Nabin Hait
parent e0a47aeb2f
commit 79f3ea4094

View File

@ -69,6 +69,7 @@ class Project(Document):
self.tasks = []
self.load_tasks()
self.send_welcome_email()
self.update_percent_complete()
def validate_project_name(self):
if self.get("__islocal") and frappe.db.exists("Project", self.project_name):