From 2a86c322678b92f3c9017b26f6a4012dcc4f4132 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 20 Dec 2016 12:20:39 +0530 Subject: [PATCH] [minor] [patch] remove icon if present, fixes #6949 --- .../job_application/job_application.json | 20 ++++++++++++++++++- erpnext/patches.txt | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/erpnext/hr/web_form/job_application/job_application.json b/erpnext/hr/web_form/job_application/job_application.json index 2aa65208c5..a11a660544 100644 --- a/erpnext/hr/web_form/job_application/job_application.json +++ b/erpnext/hr/web_form/job_application/job_application.json @@ -1,8 +1,13 @@ { + "accept_payment": 0, "allow_comments": 1, "allow_delete": 0, "allow_edit": 1, + "allow_incomplete": 0, "allow_multiple": 1, + "allow_print": 0, + "amount": 0.0, + "amount_based_on_field": 0, "creation": "2016-09-10 02:53:16.598314", "doc_type": "Job Applicant", "docstatus": 0, @@ -11,13 +16,16 @@ "introduction_text": "", "is_standard": 1, "login_required": 0, - "modified": "2016-09-13 04:56:29.228762", + "max_attachment_size": 0, + "modified": "2016-12-20 00:21:44.081622", "modified_by": "Administrator", "module": "HR", "name": "job-application", "owner": "Administrator", "published": 1, "route": "job_application", + "show_sidebar": 1, + "sidebar_items": [], "success_message": "Thank you for applying.", "success_url": "/jobs", "title": "Job Application", @@ -27,6 +35,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Job Opening", + "max_length": 0, + "max_value": 0, "options": "", "read_only": 1, "reqd": 0 @@ -36,6 +46,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Applicant Name", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 1 }, @@ -44,6 +56,8 @@ "fieldtype": "Data", "hidden": 0, "label": "Email Id", + "max_length": 0, + "max_value": 0, "options": "Email", "read_only": 0, "reqd": 1 @@ -53,6 +67,8 @@ "fieldtype": "Text", "hidden": 0, "label": "Cover Letter", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 }, @@ -61,6 +77,8 @@ "fieldtype": "Attach", "hidden": 0, "label": "Resume Attachment", + "max_length": 0, + "max_value": 0, "read_only": 0, "reqd": 0 } diff --git a/erpnext/patches.txt b/erpnext/patches.txt index aad8d421b4..15cc8420fc 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -358,3 +358,4 @@ erpnext.patches.v7_1.set_budget_against_as_cost_center erpnext.patches.v7_1.set_currency_exchange_date erpnext.patches.v7_1.set_sales_person_status erpnext.patches.v7_1.repost_stock_for_deleted_bins_for_merging_items +execute:frappe.delete_doc('Desktop Icon', {'module_name': 'Profit and Loss Statment'})