Set Resolution Date to include Time
diff --git a/erpnext/support/doctype/warranty_claim/warranty_claim.py b/erpnext/support/doctype/warranty_claim/warranty_claim.py
index 93f5245..b4427be 100644
--- a/erpnext/support/doctype/warranty_claim/warranty_claim.py
+++ b/erpnext/support/doctype/warranty_claim/warranty_claim.py
@@ -5,7 +5,7 @@
from __future__ import unicode_literals
import frappe
from frappe import session, _
-from frappe.utils import today
+from frappe.utils import today, now_datetime
@@ -21,7 +21,7 @@
if self.status=="Closed" and \
frappe.db.get_value("Warranty Claim", self.name, "status")!="Closed":
- self.resolution_date = today()
+ self.resolution_date = now_datetime()
def on_cancel(self):
lst = frappe.db.sql("""select t1.name