From 8ee6dbc1e23f4d5fd642add3b21d3434dcb37601 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sun, 14 Jan 2024 11:10:22 +0530 Subject: [PATCH] Revert "fix: make JV account against field a dynamic link" This reverts commit aab5737ff3b95cd38de9240666854805bbb272a4. --- .../journal_entry_account.json | 31 +++++-------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json index 01006bd3db..99e66e67ab 100644 --- a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json +++ b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json @@ -37,9 +37,7 @@ "col_break3", "is_advance", "user_remark", - "against_type", - "against_account", - "against_account_link" + "against_account" ], "fields": [ { @@ -252,21 +250,14 @@ "print_hide": 1 }, { - "fieldname": "against_account", - "fieldtype": "Text", - "hidden": 1, - "label": "Against Account", - "no_copy": 1, - "oldfieldname": "against_account", - "oldfieldtype": "Text", - "print_hide": 1 - }, - { - "fieldname": "against_account_link", - "fieldtype": "Dynamic Link", + "fieldname": "against_account", + "fieldtype": "Text", + "hidden": 1, "label": "Against Account", "no_copy": 1, - "options": "against_type" + "oldfieldname": "against_account", + "oldfieldtype": "Text", + "print_hide": 1 }, { "collapsible": 1, @@ -290,18 +281,12 @@ "hidden": 1, "label": "Reference Detail No", "no_copy": 1 - }, - { - "fieldname": "against_type", - "fieldtype": "Link", - "label": "Against Type", - "options": "DocType" } ], "idx": 1, "istable": 1, "links": [], - "modified": "2023-12-02 23:21:22.205409", + "modified": "2023-12-03 23:21:22.205409", "modified_by": "Administrator", "module": "Accounts", "name": "Journal Entry Account",