fixes for sub_contracting
Merge branch 'master' of github.com:webnotes/erpnext