In reload_doc overwrite reqd, hide, print hide properties
This commit is contained in:
parent
e0347e5fa2
commit
a0ef617a0f
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ class UpdateDocType(UpdateDocumentMerge):
|
|||
def get_orignal_values(self, d):
|
||||
if d.doctype=='DocField':
|
||||
t = self.get_id(d)[0]
|
||||
return {'name': t[0], 'options': t[1], 'reqd':t[3], 'print_hide':t[4], 'hidden':t[5], 'fieldtype':t[6]}
|
||||
return {'name': t[0], 'options': t[1], 'fieldtype':t[6]}
|
||||
|
||||
if d.doctype=='DocType':
|
||||
return webnotes.conn.sql("select server_code, client_script from `tabDocType` where name=%s", d.name, as_dict = 1)[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue