refactor: keep old against fields intact

This commit is contained in:
Gursheen Anand 2023-11-08 12:55:41 +05:30
parent 5f5d75a0bb
commit f9c88ea7bc
2 changed files with 30 additions and 16 deletions

View File

@ -19,6 +19,7 @@
"credit_in_account_currency",
"against_type",
"against",
"against_link",
"against_voucher_type",
"against_voucher",
"voucher_type",
@ -137,13 +138,19 @@
"options": "DocType"
},
{
"fieldname": "against",
"fieldtype": "Dynamic Link",
"in_filter": 1,
"label": "Against",
"oldfieldname": "against",
"oldfieldtype": "Text",
"options": "against_type"
"fieldname": "against",
"fieldtype": "Text",
"in_filter": 1,
"label": "Against",
"oldfieldname": "against",
"oldfieldtype": "Text"
},
{
"fieldname": "against_link",
"fieldtype": "Dynamic Link",
"in_filter": 1,
"label": "Against",
"options": "against_type"
},
{
"fieldname": "against_voucher_type",
@ -295,7 +302,7 @@
"idx": 1,
"in_create": 1,
"links": [],
"modified": "2023-09-25 12:03:23.031733",
"modified": "2023-11-08 12:20:23.031733",
"modified_by": "Administrator",
"module": "Accounts",
"name": "GL Entry",

View File

@ -38,7 +38,8 @@
"is_advance",
"user_remark",
"against_type",
"against_account"
"against_account",
"against_account_link"
],
"fields": [
{
@ -249,15 +250,21 @@
"print_hide": 1
},
{
"fieldname": "against_account",
"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",
"hidden": 1,
"label": "Against Account",
"no_copy": 1,
"oldfieldname": "against_account",
"oldfieldtype": "Text",
"options": "against_type",
"print_hide": 1
"options": "against_type"
},
{
"collapsible": 1,
@ -294,7 +301,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2023-10-11 13:05:21.489496",
"modified": "2023-11-08 12:20:21.489496",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Journal Entry Account",