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 @@
report.customize_filters = function() {
this.filter_fields_dict['Maintenance Schedule Detail'+FILTER_SEP +'From Scheduled Date'].df.in_first_page = 1;
this.filter_fields_dict['Maintenance Schedule Detail'+FILTER_SEP +'To Scheduled Date'].df.in_first_page = 1;
this.filter_fields_dict['Maintenance Schedule Detail'+FILTER_SEP +'Incharge Name'].df.in_first_page = 1;
this.filter_fields_dict['Maintenance Schedule'+FILTER_SEP +'Customer'].df.in_first_page = 1;
this.filter_fields_dict['Maintenance Schedule'+FILTER_SEP +'Customer Name'].df.in_first_page = 1;
this.filter_fields_dict['Maintenance Schedule'+FILTER_SEP +'Sales Order No'].df.in_first_page = 1;
//this.filter_fields_dict['Maintenance Schedule'+FILTER_SEP +'Status'].df.in_first_page = 0;
this.filter_fields_dict['Maintenance Schedule'+FILTER_SEP +'Company'].df['report_default'] = sys_defaults.company;
}
this.mytabs.items['Select Columns'].hide()

View File

@@ -1,34 +0,0 @@
# Search Criteria, maintenance_schedule_details
[
# These values are common in all dictionaries
{
'creation': '2010-09-01 15:48:09',
'docstatus': 0,
'modified': '2010-08-30 13:18:23',
'modified_by': 'Administrator',
'owner': 'nabin@webnotestech.com'
},
# These values are common for all Search Criteria
{
'columns': 'Maintenance Schedule Detail\x01Item Code,Maintenance Schedule Detail\x01Item Name,Maintenance Schedule Detail\x01Serial No,Maintenance Schedule Detail\x01Incharge Name,Maintenance Schedule Detail\x01Scheduled Date,Maintenance Schedule\x01Customer Name,Maintenance Schedule\x01Address,Maintenance Schedule\x01Sales Order No',
'criteria_name': 'Maintenance Schedule Details',
'doc_type': 'Maintenance Schedule Detail',
'doctype': 'Search Criteria',
'filters': "{'Maintenance Schedule\x01Submitted':1,'Maintenance Schedule\x01Status':''}",
'module': 'Support',
'name': '__common__',
'page_len': 50,
'parent_doc_type': 'Maintenance Schedule',
'sort_by': '`tabMaintenance Schedule Detail`.`item_code`',
'sort_order': 'DESC',
'standard': 'Yes'
},
# Search Criteria, maintenance_schedule_details
{
'doctype': 'Search Criteria',
'name': 'maintenance_schedule_details'
}
]