Remove loan account field from doctype

This commit is contained in:
Labeeb Mattra 2022-06-30 11:42:33 +05:30
parent 7d468a8778
commit 6febcd529b

View File

@ -1,199 +1,189 @@
{ {
"actions": [], "actions": [],
"autoname": "LM-ADJ-.#####", "autoname": "LM-ADJ-.#####",
"creation": "2022-06-28 14:48:47.736269", "creation": "2022-06-28 14:48:47.736269",
"doctype": "DocType", "doctype": "DocType",
"editable_grid": 1, "editable_grid": 1,
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"loan", "loan",
"applicant_type", "applicant_type",
"applicant", "applicant",
"column_break_3", "column_break_3",
"company", "company",
"posting_date", "posting_date",
"accounting_dimensions_section", "accounting_dimensions_section",
"cost_center", "cost_center",
"section_break_9", "section_break_9",
"adjustment_account", "adjustment_account",
"column_break_11", "column_break_11",
"adjustment_type", "adjustment_type",
"amount", "amount",
"reference_number", "reference_number",
"remarks", "remarks",
"amended_from" "amended_from"
], ],
"fields": [ "fields": [
{ {
"fieldname": "loan", "fieldname": "loan",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1, "in_list_view": 1,
"label": "Loan", "label": "Loan",
"options": "Loan", "options": "Loan",
"reqd": 1 "reqd": 1
}, },
{ {
"fetch_from": "loan.applicant_type", "fetch_from": "loan.applicant_type",
"fieldname": "applicant_type", "fieldname": "applicant_type",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Applicant Type", "label": "Applicant Type",
"options": "Employee\nMember\nCustomer", "options": "Employee\nMember\nCustomer",
"read_only": 1 "read_only": 1
}, },
{ {
"fetch_from": "loan.applicant", "fetch_from": "loan.applicant",
"fieldname": "applicant", "fieldname": "applicant",
"fieldtype": "Dynamic Link", "fieldtype": "Dynamic Link",
"label": "Applicant ", "label": "Applicant ",
"options": "applicant_type", "options": "applicant_type",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "column_break_3", "fieldname": "column_break_3",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"fetch_from": "loan.company", "fetch_from": "loan.company",
"fieldname": "company", "fieldname": "company",
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1, "in_list_view": 1,
"label": "Company", "label": "Company",
"options": "Company", "options": "Company",
"read_only": 1, "read_only": 1,
"reqd": 1 "reqd": 1
}, },
{ {
"default": "Today", "default": "Today",
"fieldname": "posting_date", "fieldname": "posting_date",
"fieldtype": "Date", "fieldtype": "Date",
"in_list_view": 1, "in_list_view": 1,
"label": "Posting Date", "label": "Posting Date",
"reqd": 1 "reqd": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
"fieldname": "accounting_dimensions_section", "fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Accounting Dimensions" "label": "Accounting Dimensions"
}, },
{ {
"fieldname": "cost_center", "fieldname": "cost_center",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Cost Center", "label": "Cost Center",
"options": "Cost Center" "options": "Cost Center"
}, },
{ {
"fieldname": "section_break_9", "fieldname": "section_break_9",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Adjustment Details" "label": "Adjustment Details"
}, },
{ {
"fieldname": "column_break_11", "fieldname": "column_break_11",
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"fieldname": "reference_number", "fieldname": "reference_number",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Reference Number" "label": "Reference Number"
}, },
{ {
"fieldname": "amended_from", "fieldname": "amended_from",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Amended From", "label": "Amended From",
"no_copy": 1, "no_copy": 1,
"options": "Loan Balance Adjustment", "options": "Loan Balance Adjustment",
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "amended_from", "fieldname": "amended_from",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Amended From", "label": "Amended From",
"no_copy": 1, "no_copy": 1,
"options": "Loan Balance Adjustment", "options": "Loan Balance Adjustment",
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{ {
"fetch_from": "loan.payment_account", "fieldname": "adjustment_account",
"fieldname": "adjustment_account", "fieldtype": "Link",
"fieldtype": "Link", "label": "Adjustment Account",
"in_list_view": 1, "options": "Account",
"label": "Adjustment Account", "reqd": 1
"options": "Account", },
"read_only": 1 {
}, "fieldname": "amount",
{ "fieldtype": "Currency",
"fieldname": "amount", "label": "Amount",
"fieldtype": "Currency", "options": "Company:company:default_currency",
"label": "Amount", "reqd": 1
"options": "Company:company:default_currency", },
"reqd": 1 {
}, "fieldname": "adjustment_type",
{ "fieldtype": "Select",
"fetch_from": "loan.loan_account", "label": "Adjustment Type",
"fieldname": "loan_account", "options": "Credit\nDebit",
"fieldtype": "Link", "reqd": 1
"label": "Loan Account", },
"options": "Account", {
"read_only": 1 "fieldname": "remarks",
}, "fieldtype": "Data",
{ "label": "Remarks"
"fieldname": "adjustment_type", }
"fieldtype": "Select", ],
"label": "Adjustment Type", "index_web_pages_for_search": 1,
"options": "Credit Adjustment\nDebit Adjustment", "is_submittable": 1,
"reqd": 1 "links": [],
}, "modified": "2022-06-30 11:38:16.631994",
{ "modified_by": "Administrator",
"fieldname": "remarks", "module": "Loan Management",
"fieldtype": "Data", "name": "Loan Balance Adjustment",
"label": "Remarks" "naming_rule": "Expression (old style)",
} "owner": "Administrator",
], "permissions": [
"index_web_pages_for_search": 1, {
"is_submittable": 1, "amend": 1,
"links": [], "cancel": 1,
"modified": "2022-06-28 14:54:52.792592", "create": 1,
"modified_by": "Administrator", "delete": 1,
"module": "Loan Management", "email": 1,
"name": "Loan Balance Adjustment", "export": 1,
"naming_rule": "Expression (old style)", "print": 1,
"owner": "Administrator", "read": 1,
"permissions": [ "report": 1,
{ "role": "System Manager",
"amend": 1, "share": 1,
"cancel": 1, "submit": 1,
"create": 1, "write": 1
"delete": 1, },
"email": 1, {
"export": 1, "amend": 1,
"print": 1, "cancel": 1,
"read": 1, "create": 1,
"report": 1, "delete": 1,
"role": "System Manager", "email": 1,
"share": 1, "export": 1,
"submit": 1, "print": 1,
"write": 1 "read": 1,
}, "report": 1,
{ "role": "Loan Manager",
"amend": 1, "share": 1,
"cancel": 1, "submit": 1,
"create": 1, "write": 1
"delete": 1, }
"email": 1, ],
"export": 1, "sort_field": "modified",
"print": 1, "sort_order": "DESC",
"read": 1, "states": [],
"report": 1, "track_changes": 1
"role": "Loan Manager",
"share": 1,
"submit": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
} }