mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 09:47:14 +00:00
Merge branch 'call-summary-dialog' of github.com:surajshetty3416/erpnext into call-summary-dialog
This commit is contained in:
@@ -18,7 +18,7 @@ class ServiceLevelAgreement(Document):
|
||||
if self.start_date >= self.end_date:
|
||||
frappe.throw(_("Start Date of Agreement can't be greater than or equal to End Date."))
|
||||
|
||||
if self.end_date < frappe.utils.nowdate():
|
||||
if self.end_date < frappe.utils.getdate():
|
||||
frappe.throw(_("End Date of Agreement can't be less than today."))
|
||||
|
||||
if self.entity_type and self.entity:
|
||||
|
||||
Reference in New Issue
Block a user