Merge pull request #4011 from anandpdoshi/defaults-during-creation

[fix] Use User Permission value as default only if the document type is Setup. Merge with frappe/frappe#1304