Fixes in stock reconciliation
minor fixes in sales invoice validation