From 79578f4889f16fee7e63fbc3a96988af37b3bbf5 Mon Sep 17 00:00:00 2001 From: Kanchan Chauhan Date: Fri, 4 Nov 2016 17:30:24 +0530 Subject: [PATCH] [Fix] Customer Addresses and Contacts report fixed for CRM module --- frappe/public/js/frappe/form/footer/attachments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/form/footer/attachments.js b/frappe/public/js/frappe/form/footer/attachments.js index 9fef9e5436..49b2137349 100644 --- a/frappe/public/js/frappe/form/footer/attachments.js +++ b/frappe/public/js/frappe/form/footer/attachments.js @@ -228,7 +228,7 @@ frappe.ui.get_upload_dialog = function(opts){ 'method': 'frappe.client.get_value', 'args': { 'doctype': 'File', - 'fieldname': ['file_url','filename'], + 'fieldname': ['file_url','file_name'], 'filters': { 'name': dialog.get_value("file") } @@ -260,4 +260,4 @@ frappe.ui.get_upload_dialog = function(opts){ }); return dialog; -} +} \ No newline at end of file