fixes in item: organized code
Merge branch 'master' of github.com:webnotes/erpnext