Revert "fix: make JV account against field a dynamic link"
This reverts commit aab5737ff3b95cd38de9240666854805bbb272a4.
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 01006bd..99e66e6 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",