merge new modules, install in stable
This commit is contained in:
parent
d9087a8ae1
commit
541c42b4fa
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class UpdateDocType(UpdateDocumentMerge):
|
|||
|
||||
def get_id(self, d):
|
||||
key = d.fieldname and 'fieldname' or 'label'
|
||||
if key in d.fields:
|
||||
if d.fields.get(key):
|
||||
return webnotes.conn.sql("""select name, options, permlevel, reqd, print_hide, hidden
|
||||
from tabDocField where %s=%s and parent=%s""" % (key, '%s', '%s'), (d.fields[key], d.parent))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue