[fix] Null issue fixed in stock analytics report
Minor fix
Merge pull request #2374 from nabinhait/fix1

minor fix