fixes in tree type documents
Merge branch 'master' of github.com:webnotes/erpnext