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,10 +0,0 @@
//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
}

View File

@@ -1,122 +0,0 @@
# DocType, Period
[
# These values are common in all dictionaries
{
'creation': '2010-08-08 17:09:12',
'docstatus': 0,
'modified': '2010-09-20 14:06:57',
'modified_by': 'umair@iwebnotes.com',
'owner': 'nabin@webnotestech.com'
},
# These values are common for all DocType
{
'autoname': 'field:period_name',
'colour': 'White:FFF',
'doctype': 'DocType',
'document_type': 'Master',
'in_create': 1,
'module': 'Setup',
'name': '__common__',
'section_style': 'Simple',
'server_code_error': ' ',
'version': 5
},
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Period',
'parentfield': 'fields',
'parenttype': 'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': 'DocPerm',
'name': '__common__',
'parent': 'Period',
'parentfield': 'permissions',
'parenttype': 'DocType',
'permlevel': 0,
'read': 1,
'role': 'System Manager',
'write': 0
},
# DocType, Period
{
'doctype': 'DocType',
'name': 'Period'
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 1
},
# DocPerm
{
'doctype': 'DocPerm',
'idx': 2
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'period_name',
'fieldtype': 'Data',
'idx': 1,
'label': 'Period Name',
'oldfieldname': 'period_name',
'oldfieldtype': 'Data'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'start_date',
'fieldtype': 'Date',
'idx': 2,
'label': 'Start Date',
'oldfieldname': 'start_date',
'oldfieldtype': 'Date'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'end_date',
'fieldtype': 'Date',
'idx': 3,
'label': 'End Date',
'oldfieldname': 'end_date',
'oldfieldtype': 'Date'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'period_type',
'fieldtype': 'Data',
'idx': 4,
'label': 'Period Type',
'oldfieldname': 'period_type',
'oldfieldtype': 'Data'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'fiscal_year',
'fieldtype': 'Data',
'idx': 5,
'label': 'Fiscal Year',
'oldfieldname': 'fiscal_year',
'oldfieldtype': 'Data'
}
]