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

This commit is contained in:
Rushabh Mehta 2012-02-17 05:59:46 +01:00
commit 639c268abd

View File

@ -26,7 +26,7 @@ cur_frm.fields_dict.purchase_receipt_no.get_query = function(doc) {
// Hide/unhide based on return type // Hide/unhide based on return type
//---------------------------------- //----------------------------------
cur_frm.cscript.return_type = function(doc, cdt, cdn) { cur_frm.cscript.return_type = function(doc, cdt, cdn) {
var cp = locals['Control Panel']['Control Panel']; var cp = wn.control_panel;
hide_field(['purchase_receipt_no', 'delivery_note_no', 'sales_invoice_no', hide_field(['purchase_receipt_no', 'delivery_note_no', 'sales_invoice_no',
'return_details', 'Get Items', 'Make Excise Invoice', 'Make Stock Entry', 'return_details', 'Get Items', 'Make Excise Invoice', 'Make Stock Entry',
'Make Debit Note', 'Make Credit Note']); 'Make Debit Note', 'Make Credit Note']);