Skip to content

Commit

Permalink
fix: list view for Terms and Conditions (#33925)
Browse files Browse the repository at this point in the history
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
barredterra and deepeshgarg007 authored Feb 11, 2023
1 parent 6ea0a69 commit ab7293b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
13 changes: 3 additions & 10 deletions erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt



//--------- ONLOAD -------------
cur_frm.cscript.onload = function(doc, cdt, cdn) {

}

cur_frm.cscript.refresh = function(doc, cdt, cdn) {

}
// frappe.ui.form.on("Terms and Conditions", {
// refresh(frm) {}
// });
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"default": "0",
"fieldname": "disabled",
"fieldtype": "Check",
"in_list_view": 1,
"label": "Disabled"
},
{
Expand All @@ -60,12 +59,14 @@
"default": "1",
"fieldname": "selling",
"fieldtype": "Check",
"in_list_view": 1,
"label": "Selling"
},
{
"default": "1",
"fieldname": "buying",
"fieldtype": "Check",
"in_list_view": 1,
"label": "Buying"
},
{
Expand All @@ -76,10 +77,11 @@
"icon": "icon-legal",
"idx": 1,
"links": [],
"modified": "2022-06-16 15:07:38.094844",
"modified": "2023-02-01 14:33:39.246532",
"modified_by": "Administrator",
"module": "Setup",
"name": "Terms and Conditions",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{
Expand Down Expand Up @@ -133,5 +135,6 @@
"quick_entry": 1,
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "ASC"
"sort_order": "ASC",
"states": []
}

0 comments on commit ab7293b

Please sign in to comment.