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

This commit is contained in:
Nabin Hait 2011-09-15 15:40:27 +05:30
parent 3b19f6b7c8
commit 6ae7f8fe58

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()