fix: list view for Terms and Conditions (#33925)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
Raffael Meyer 2023-02-11 06:39:26 +01:00 committed by GitHub
parent 6ea0a69d3a
commit ab7293bcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 13 deletions

View File

@ -1,13 +1,6 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt // License: GNU General Public License v3. See license.txt
// frappe.ui.form.on("Terms and Conditions", {
// refresh(frm) {}
//--------- ONLOAD ------------- // });
cur_frm.cscript.onload = function(doc, cdt, cdn) {
}
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
}

View File

@ -33,7 +33,6 @@
"default": "0", "default": "0",
"fieldname": "disabled", "fieldname": "disabled",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1,
"label": "Disabled" "label": "Disabled"
}, },
{ {
@ -60,12 +59,14 @@
"default": "1", "default": "1",
"fieldname": "selling", "fieldname": "selling",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1,
"label": "Selling" "label": "Selling"
}, },
{ {
"default": "1", "default": "1",
"fieldname": "buying", "fieldname": "buying",
"fieldtype": "Check", "fieldtype": "Check",
"in_list_view": 1,
"label": "Buying" "label": "Buying"
}, },
{ {
@ -76,10 +77,11 @@
"icon": "icon-legal", "icon": "icon-legal",
"idx": 1, "idx": 1,
"links": [], "links": [],
"modified": "2022-06-16 15:07:38.094844", "modified": "2023-02-01 14:33:39.246532",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Terms and Conditions", "name": "Terms and Conditions",
"naming_rule": "By fieldname",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {
@ -133,5 +135,6 @@
"quick_entry": 1, "quick_entry": 1,
"show_name_in_global_search": 1, "show_name_in_global_search": 1,
"sort_field": "modified", "sort_field": "modified",
"sort_order": "ASC" "sort_order": "ASC",
"states": []
} }