Merge pull request #2232 from nabinhait/hotfix

Fix gl entries for stock transactions