[doc] [revert] reverting autoname overwrite - in wrong place (should be in insert) and not required
This commit is contained in:
parent
7754e3b05c
commit
096b9a179c
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue