Browse Source

[Fix] Customer Addresses and Contacts report fixed for CRM module

version-14
Kanchan Chauhan 8 years ago
parent
commit
79578f4889
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frappe/public/js/frappe/form/footer/attachments.js

+ 2
- 2
frappe/public/js/frappe/form/footer/attachments.js View File

@@ -228,7 +228,7 @@ frappe.ui.get_upload_dialog = function(opts){
'method': 'frappe.client.get_value', 'method': 'frappe.client.get_value',
'args': { 'args': {
'doctype': 'File', 'doctype': 'File',
'fieldname': ['file_url','filename'],
'fieldname': ['file_url','file_name'],
'filters': { 'filters': {
'name': dialog.get_value("file") 'name': dialog.get_value("file")
} }
@@ -260,4 +260,4 @@ frappe.ui.get_upload_dialog = function(opts){
}); });


return dialog; return dialog;
}
}

Loading…
Cancel
Save