fixes to install, doctype
This commit is contained in:
parent
b96251c58c
commit
3ef10b4df9
2 changed files with 1 additions and 140 deletions
|
|
@ -656,144 +656,5 @@
|
|||
'reqd': 0,
|
||||
'search_index': 0,
|
||||
'width': '300px'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 46,
|
||||
'label': 'Client Script',
|
||||
'oldfieldtype': 'Section Break'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'change_log',
|
||||
'fieldtype': 'Text',
|
||||
'idx': 47,
|
||||
'label': 'Change Log',
|
||||
'oldfieldname': 'change_log',
|
||||
'oldfieldtype': 'Text'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'client_script_core',
|
||||
'fieldtype': 'Code',
|
||||
'idx': 48,
|
||||
'label': 'Client Script Core',
|
||||
'oldfieldname': 'client_script_core',
|
||||
'oldfieldtype': 'Code'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'client_script',
|
||||
'fieldtype': 'Code',
|
||||
'hidden': 0,
|
||||
'idx': 49,
|
||||
'label': 'Client Side Javascript',
|
||||
'oldfieldname': 'client_script',
|
||||
'oldfieldtype': 'Code',
|
||||
'reqd': 0,
|
||||
'search_index': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 50,
|
||||
'label': 'Server Script',
|
||||
'oldfieldtype': 'Section Break'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'server_code_core',
|
||||
'fieldtype': 'Code',
|
||||
'idx': 51,
|
||||
'label': 'Server Code Core',
|
||||
'oldfieldname': 'server_code_core',
|
||||
'oldfieldtype': 'Code'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'server_code',
|
||||
'fieldtype': 'Code',
|
||||
'idx': 52,
|
||||
'label': 'Server Code',
|
||||
'oldfieldname': 'server_code',
|
||||
'oldfieldtype': 'Code'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'server_code_compiled',
|
||||
'fieldtype': 'Code',
|
||||
'hidden': 1,
|
||||
'idx': 53,
|
||||
'label': 'Server Code Compiled',
|
||||
'oldfieldname': 'server_code_compiled',
|
||||
'oldfieldtype': 'Code'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'server_code_error',
|
||||
'fieldtype': 'Read Only',
|
||||
'idx': 54,
|
||||
'label': 'Server Code Error',
|
||||
'oldfieldname': 'server_code_error',
|
||||
'oldfieldtype': 'Read Only'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 55,
|
||||
'label': 'Client String',
|
||||
'oldfieldtype': 'Section Break'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'client_string',
|
||||
'fieldtype': 'Code',
|
||||
'idx': 56,
|
||||
'label': 'Clientside String',
|
||||
'oldfieldname': 'client_string',
|
||||
'oldfieldtype': 'Code'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 57,
|
||||
'label': 'Template',
|
||||
'oldfieldtype': 'Section Break'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'dt_template',
|
||||
'fieldtype': 'Code',
|
||||
'idx': 58,
|
||||
'label': 'DocType Template',
|
||||
'oldfieldname': 'dt_template',
|
||||
'oldfieldtype': 'Code'
|
||||
}
|
||||
]
|
||||
|
|
@ -107,7 +107,7 @@ class Profile:
|
|||
return h[1]
|
||||
except:
|
||||
pass
|
||||
return webnotes.conn.get_value('Control Panel',None,'home_page')
|
||||
return webnotes.conn.get_value('Control Panel',None,'home_page') or 'Login Page'
|
||||
|
||||
def get_defaults(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue