Merge pull request #2542 from nabinhait/fix1

In stock entry, difference account can be non-profit-and-loss account