Merge branch 'master' into edge

This commit is contained in:
Rushabh Mehta 2013-04-25 10:57:18 +05:30
commit 030c628d40

View file

@ -381,9 +381,6 @@ class Document:
'autoname, issingle, istable, name_case', as_dict=1)
res = res and res[0] or {}
doctypelist = webnotes.get_doctype(self.doctype)
res = doctypelist and doctypelist[0].fields or {}
if new:
self.fields["__islocal"] = 1