Minor fix: commonified message.

This commit is contained in:
Anand Doshi 2014-07-01 13:25:03 +05:30
parent e9f43251ab
commit c33ae0c7df
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ class PurchaseOrder(BuyingController):
date_diff = frappe.db.sql("select TIMEDIFF('%s', '%s')" % ( mod_db[0][0],cstr(self.modified)))
if date_diff and date_diff[0][0]:
msgprint(_("{0} {1} has been modified. Please refresh").format(self.doctype, self.name),
msgprint(_("{0} {1} has been modified. Please refresh.").format(self.doctype, self.name),
raise_exception=True)
def update_status(self, status):

View File

@ -209,7 +209,7 @@ class SalesOrder(SellingController):
date_diff = frappe.db.sql("select TIMEDIFF('%s', '%s')" %
( mod_db, cstr(self.modified)))
if date_diff and date_diff[0][0]:
frappe.throw(_("{0} {1} has been modified. Please Refresh").format(self.doctype, self.name))
frappe.throw(_("{0} {1} has been modified. Please refresh.").format(self.doctype, self.name))
def stop_sales_order(self):
self.check_modified_date()