Features Setting

1. Features Setting DocType
2. Startup.js will be added with a function which binds with refresh of doc
3. Startup.js contains the Features dictionary
This commit is contained in:
Brahma K
2011-08-25 16:20:16 +05:30
parent db87672d47
commit 29d5549bde
10 changed files with 33 additions and 435 deletions

View File

@@ -28,7 +28,7 @@ cur_frm.cscript.onload_post_render = function(doc, cdt, cdn) {
if(doc.quotation) cur_frm.cscript['Pull Quotation Details'](doc,cdt,cdn);
} else {
cur_frm.cscript.load_taxes(doc, cdt, cdn);
}
}
}
// Refresh
@@ -70,7 +70,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
} else {
hide_field(['Repair Sales Order', 'Send SMS', 'message', 'customer_mobile_no'])
}
pscript.apply_feature_settings();
}
//customer