Update time_log.py

This commit is contained in:
Revant Nandgaonkar 2014-12-02 14:18:10 +05:30
parent d0a44ca85c
commit 185af03fb2

View File

@ -24,7 +24,7 @@ class TimeLog(Document):
from frappe.utils import time_diff_in_hours
self.hours = time_diff_in_hours(self.to_time, self.from_time)
if self.hours < 0:
frappe.throw(_("\'From Time\' cannot be later than \'To Time\'"))
frappe.throw(_("'From Time' cannot be later than 'To Time'"))
def set_status(self):
self.status = {