From e785928c0fcb5e2549302ea77217fe88f9797717 Mon Sep 17 00:00:00 2001 From: Abdeali Chharchhoda Date: Mon, 7 Oct 2024 12:08:02 +0530 Subject: [PATCH] fix: Remove unused field --- .../doctype/payment_request/payment_request.json | 11 +---------- .../doctype/payment_request/payment_request.py | 1 - 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/erpnext/accounts/doctype/payment_request/payment_request.json b/erpnext/accounts/doctype/payment_request/payment_request.json index 7806bc682b0..67d540701c1 100644 --- a/erpnext/accounts/doctype/payment_request/payment_request.json +++ b/erpnext/accounts/doctype/payment_request/payment_request.json @@ -398,15 +398,6 @@ "print_hide": 1, "read_only": 1 }, - { - "fieldname": "failed_reason", - "fieldtype": "Data", - "hidden": 1, - "label": "Reason for Failure", - "no_copy": 1, - "print_hide": 1, - "read_only": 1 - }, { "depends_on": "eval: doc.docstatus === 1", "description": "Amount in party's bank account currency", @@ -480,4 +471,4 @@ "sort_field": "modified", "sort_order": "DESC", "states": [] -} \ No newline at end of file +} diff --git a/erpnext/accounts/doctype/payment_request/payment_request.py b/erpnext/accounts/doctype/payment_request/payment_request.py index 6d1d279c244..a12cfb4eb92 100644 --- a/erpnext/accounts/doctype/payment_request/payment_request.py +++ b/erpnext/accounts/doctype/payment_request/payment_request.py @@ -51,7 +51,6 @@ class PaymentRequest(Document): cost_center: DF.Link | None currency: DF.Link | None email_to: DF.Data | None - failed_reason: DF.Data | None grand_total: DF.Currency iban: DF.ReadOnly | None is_a_subscription: DF.Check