check serial nos bin qty only if serial no entered into the document

This commit is contained in:
Nabin Hait 2011-09-15 15:38:57 +05:30
parent e31ed38843
commit c526a8db47

View File

@ -40,7 +40,7 @@ class DocType:
# update valuation for post dated entry
if actual_qty:
if actual_qty and serial_no:
# check actual qty with total number of serial no
self.check_qty_with_serial_no()