label/message update in error reporting

This commit is contained in:
Thura Hlaing 2014-01-28 09:09:50 +06:30
parent 16f88ba3cd
commit 2e67426936

View File

@ -24,4 +24,4 @@ class DocType:
submitted_stock_frozen = self.doc.stock_frozen_upto_days
if submitted_stock_frozen > stock_frozen_limit:
self.doc.stock_frozen_upto_days = stock_frozen_limit
webnotes.msgprint (_("`Stocks Freeze Older Than` should be smaller than %d days.") %stock_frozen_limit)
webnotes.msgprint (_("`Freeze Stocks Older Than` should be smaller than %d days.") %stock_frozen_limit)