Merge branch 'shf_rename' of github.com:webnotes/erpnext into shf_rename

This commit is contained in:
Rushabh Mehta 2012-04-18 16:56:09 +05:30
commit b194eb83a9
5 changed files with 7 additions and 9 deletions

View File

@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-04-03 12:49:50',
'creation': '2012-04-11 17:36:48',
'docstatus': 0,
'modified': '2012-04-03 12:49:50',
'modified': '2012-04-18 12:17:52',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@ -14,7 +14,7 @@
{
'columns': u'Account\x01ID',
'criteria_name': u'Cash Flow Statement',
'dis_filters': u'fiscal_year\ntransaction_date',
'dis_filters': u'fiscal_year',
'doc_type': u'Account',
'doctype': 'Search Criteria',
'filters': u"{'Account\x01Group or Ledger':'Ledger','Account\x01Is PL Account':'','Account\x01Is Active':'','Account\x01Account Type':'','Account\x01Company':'','Account\x01Fiscal Year':'','Account\x01Show Group Balance':'','Account\x01Level':'2'}",

View File

@ -27,7 +27,7 @@ cur_frm.cscript.onload = function(doc, cdt, cdn){
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
// hide buttons
$(cur_frm.frm_head.page_head.toolbar_area).toggle(false);
$('.appframe-toolbar').toggle(false);
}
cur_frm.cscript.select_doc_for_series = function(doc, cdt, cdn) {

View File

@ -96,7 +96,7 @@ class SupportMailbox(POP3Mailbox):
d.raised_by = mail.mail['From']
d.content_type = content_type
d.status = 'Open'
d.naming_series = (opts and opts.split("\n")[0]) or 'SUP'
d.naming_series = opts and opts.split("\n")[0] or 'SUP'
try:
d.save(1)
except:

View File

@ -454,8 +454,7 @@ wn.container.change_to('Form - '+dt);wn.views.formview[dt].frm.refresh(dn);});})
* lib/js/wn/views/reportview.js
*/
wn.views.reportview={show:function(dt,rep_name){wn.require('lib/js/legacy/report.compressed.js');dt=get_label_doctype(dt);if(!_r.rb_con){_r.rb_con=new _r.ReportContainer();}
_r.rb_con.set_dt(dt,function(rb){if(rep_name){var t=rb.current_loaded;rb.load_criteria(rep_name);if((rb.dt)&&(!rb.dt.has_data()||rb.current_loaded!=t))
rb.dt.run();}
_r.rb_con.set_dt(dt,function(rb){if(rep_name){var t=rb.current_loaded;rb.load_criteria(rep_name);if((rb.dt)&&(!rb.dt.has_data()||rb.current_loaded!=t)){rb.dt.run();}}
if(!rb.forbidden){wn.container.change_to('Report Builder');}});}}
/*
* lib/js/wn/request.js

View File

@ -341,8 +341,7 @@ wn.container.change_to('Form - '+dt);wn.views.formview[dt].frm.refresh(dn);});})
* lib/js/wn/views/reportview.js
*/
wn.views.reportview={show:function(dt,rep_name){wn.require('lib/js/legacy/report.compressed.js');dt=get_label_doctype(dt);if(!_r.rb_con){_r.rb_con=new _r.ReportContainer();}
_r.rb_con.set_dt(dt,function(rb){if(rep_name){var t=rb.current_loaded;rb.load_criteria(rep_name);if((rb.dt)&&(!rb.dt.has_data()||rb.current_loaded!=t))
rb.dt.run();}
_r.rb_con.set_dt(dt,function(rb){if(rep_name){var t=rb.current_loaded;rb.load_criteria(rep_name);if((rb.dt)&&(!rb.dt.has_data()||rb.current_loaded!=t)){rb.dt.run();}}
if(!rb.forbidden){wn.container.change_to('Report Builder');}});}}
/*
* lib/js/wn/request.js