restructured erpnext and deleted unwanted

This commit is contained in:
nabinhait
2011-07-01 13:34:41 +05:30
parent c1c54c9400
commit ec097975d0
1280 changed files with 54494 additions and 88652 deletions

View File

@@ -0,0 +1,12 @@
report.customize_filters = function() {
//this.hide_all_filters();
this.filter_fields_dict['Serial No'+FILTER_SEP +'Status'].df.filter_hide = 1;
this.filter_fields_dict['Serial No'+FILTER_SEP +'ID'].df.in_first_page = 1;
this.filter_fields_dict['Serial No'+FILTER_SEP +'From Purchase Date'].df.in_first_page = 1;
this.filter_fields_dict['Serial No'+FILTER_SEP +'To Purchase Date'].df.in_first_page = 1;
}
//this.mytabs.items['Select Columns'].hide();
this.mytabs.items['More Filters'].hide();

View File

@@ -0,0 +1,15 @@
col = [['In Store Period (in days)', 'Data', '']]
for c in col:
colnames.append(str(c[0]))
coltypes.append(str(c[1]))
colwidths.append('150px')
coloptions.append(str(c[2]))
col_idx[str(c)] = len(colnames) - 1
import datetime
for r in res:
if r[col_idx['Purchase Date']]:
dt = (datetime.date.today() - getdate(r[col_idx['Purchase Date']])).days
else:
dt = ''
r.append(dt)

View File

@@ -0,0 +1,37 @@
[
{
'add_col': '',
'add_cond': "`tabSerial No`.status = 'In Store'",
'add_tab': None,
'columns': 'Serial No\x01ID,Serial No\x01Item Code,Serial No\x01Description,Serial No\x01Item Group,Serial No\x01Purchase Date',
'creation': '2010-09-01 15:47:57',
'criteria_name': 'Stock Aging Report',
'custom_query': '',
'description': None,
'dis_filters': None,
'disabled': None,
'doc_type': 'Serial No',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Serial No\x01Saved':1,'Serial No\x01Submitted':1,'Serial No\x01Status':'In Store','Serial No\x01Maintenance Status':''}",
'graph_series': None,
'graph_values': None,
'group_by': None,
'idx': None,
'modified': '2010-08-16 13:42:24',
'modified_by': 'Administrator',
'module': 'Material Management',
'name': 'stock_aging_report',
'owner': 'ashwini@webnotestech.com',
'page_len': 1000,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '`tabSerial No`.`name`',
'sort_order': 'DESC',
'standard': 'Yes'
}
]