Merge pull request #8034 from mbauskar/hotfix

[minor] make item code mandatory if update_stock is selected