first cut for lazy loading framework

This commit is contained in:
Rushabh Mehta
2011-09-05 18:43:09 +05:30
parent 09938bda69
commit 66ac2b018a
1512 changed files with 832 additions and 0 deletions

View File

@@ -1,13 +0,0 @@
//Tips not required
/*
//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
}
*/

View File

@@ -1,100 +0,0 @@
# DocType, Country
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:08:56',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'yogesh@webnotestech.com',
'owner': 'Administrator'
},
# These values are common for all DocType
{
'autoname': 'field:country_name',
'colour': 'White:FFF',
'doctype': 'DocType',
'document_type': 'Master',
'in_create': 0,
'module': 'Setup',
'name': '__common__',
'read_only': 0,
'section_style': 'Simple',
'server_code_error': ' ',
'show_in_menu': 0,
'version': 11
},
# These values are common for all DocField
{
'doctype': 'DocField',
'fieldname': 'country_name',
'fieldtype': 'Data',
'idx': 1,
'label': 'Country Name',
'name': '__common__',
'oldfieldname': 'country_name',
'oldfieldtype': 'Data',
'parent': 'Country',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0,
'reqd': 1
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'name': '__common__',
'parent': 'Country',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Country
{
'doctype': 'DocType',
'name': 'Country'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'doctype': 'DocPerm',
'idx': 1,
'role': 'Sales Master Manager',
'submit': 0
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 2,
'role': 'Purchase Master Manager'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 3,
'role': 'HR User'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 4,
'role': 'HR Manager'
},
# DocField
{
'doctype': 'DocField'
}
]