use validate value method to validate valuation rate should be greater than 0 in stock entry

This commit is contained in:
Anand Doshi
2013-03-05 12:25:15 +05:30
parent 9bba9ed4d2
commit 1f3a5c3798
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,8 @@
from __future__ import unicode_literals
import webnotes
from webnotes.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdate, sendmail
from webnotes.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdate
from webnotes.utils.email_lib import sendmail
from webnotes.utils import comma_and
from webnotes.model.doc import make_autoname
from webnotes.model.bean import getlist