[script report] purchase register in new style
[report] add total row
[fixes] [__islocal] use doc.fields.get('__islocal') instead of doc.__islocal
Merge branch 'master' of github.com:webnotes/erpnext