Merge pull request #21463 from deepeshgarg007/allow_loan_security_rename

fix: Allow rename for Loan Security
This commit is contained in:
Deepesh Garg 2020-04-28 14:31:56 +05:30 committed by GitHub
commit dcef7a96ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 10 deletions

View File

@ -1,15 +1,17 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:loan_security_name",
"creation": "2019-09-02 15:07:08.885593",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"loan_security_type",
"loan_security_code",
"loan_security_name",
"unit_of_measure",
"loan_security_code",
"column_break_3",
"loan_security_type",
"haircut",
"disabled"
],
@ -17,7 +19,9 @@
{
"fieldname": "loan_security_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Loan Security Name",
"reqd": 1,
"unique": 1
},
{
@ -33,8 +37,10 @@
{
"fieldname": "loan_security_type",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Loan Security Type",
"options": "Loan Security Type"
"options": "Loan Security Type",
"reqd": 1
},
{
"fieldname": "loan_security_code",
@ -52,11 +58,15 @@
"fetch_from": "loan_security_type.unit_of_measure",
"fieldname": "unit_of_measure",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Unit Of Measure",
"options": "UOM"
"options": "UOM",
"read_only": 1,
"reqd": 1
}
],
"modified": "2019-11-16 11:36:37.901656",
"links": [],
"modified": "2020-04-28 14:07:54.506896",
"modified_by": "Administrator",
"module": "Loan Management",
"name": "Loan Security",
@ -87,7 +97,6 @@
"write": 1
}
],
"quick_entry": 1,
"search_fields": "loan_security_code",
"sort_field": "modified",
"sort_order": "DESC",

View File

@ -9,9 +9,9 @@
"loan_security_type",
"unit_of_measure",
"haircut",
"disabled",
"column_break_5",
"loan_to_value_ratio"
"loan_to_value_ratio",
"disabled"
],
"fields": [
{
@ -23,7 +23,9 @@
{
"fieldname": "loan_security_type",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Loan Security Type",
"reqd": 1,
"unique": 1
},
{
@ -34,8 +36,10 @@
{
"fieldname": "unit_of_measure",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Unit Of Measure",
"options": "UOM"
"options": "UOM",
"reqd": 1
},
{
"fieldname": "column_break_5",
@ -48,7 +52,7 @@
}
],
"links": [],
"modified": "2020-02-28 12:43:20.364447",
"modified": "2020-04-28 14:06:49.046177",
"modified_by": "Administrator",
"module": "Loan Management",
"name": "Loan Security Type",