Merge pull request #1844 from anandpdoshi/anand-wip

Serial No Validation in Stock Entry, Warehouse query fix