[fixes] [__islocal] use doc.fields.get('__islocal') instead of doc.__islocal
Merge branch 'master' of github.com:webnotes/erpnext