|
|
@@ -94,7 +94,7 @@ cur_frm.cscript.hide_allow_attach = function(doc, dt, dn) { |
|
|
|
'Leave Application', 'Lead', 'Journal Voucher', 'Item', 'Material Request', |
|
|
|
'Expense Claim', 'Opportunity', 'Employee', 'Delivery Note', |
|
|
|
'Customer Issue', 'Customer', 'Contact Us Settings', 'Company', |
|
|
|
'Blog', 'BOM', 'About Us Settings', 'Batch']; |
|
|
|
'Blog Post', 'BOM', 'About Us Settings', 'Batch']; |
|
|
|
|
|
|
|
if(inList(allow_attach_list, doc.doc_type)) { |
|
|
|
unhide_field('allow_attach'); |
|
|
|