From 3a942001d2e87a7d70ed83f8232644a7474ec6b4 Mon Sep 17 00:00:00 2001 From: rocketdebris Date: Mon, 20 Oct 2025 18:22:41 -0400 Subject: [PATCH] Changes to the doctype, going to be a derived type from customer/contact. --- .../lmncustomertableitem.js | 8 ++++++++ .../lmncustomertableitem.json | 18 +++++++++++++++--- .../test_lmncustomertableitem.py | 9 +++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.js create mode 100644 snw_ui/snw_ui/doctype/lmncustomertableitem/test_lmncustomertableitem.py diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.js b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.js new file mode 100644 index 0000000..0522336 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.js @@ -0,0 +1,8 @@ +// Copyright (c) 2025, Shiloh Code LLC and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("LMNCustomerTableItem", { +// refresh(frm) { + +// }, +// }); diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json index bfd3256..d8742f9 100644 --- a/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json +++ b/snw_ui/snw_ui/doctype/lmncustomertableitem/lmncustomertableitem.json @@ -56,14 +56,26 @@ ], "grid_page_length": 50, "index_web_pages_for_search": 1, - "istable": 1, "links": [], - "modified": "2025-10-16 13:44:28.060815", + "modified": "2025-10-20 18:19:59.427539", "modified_by": "Administrator", "module": "SNW UI", "name": "LMNCustomerTableItem", "owner": "Administrator", - "permissions": [], + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], "row_format": "Dynamic", "rows_threshold_for_grid_search": 20, "sort_field": "modified", diff --git a/snw_ui/snw_ui/doctype/lmncustomertableitem/test_lmncustomertableitem.py b/snw_ui/snw_ui/doctype/lmncustomertableitem/test_lmncustomertableitem.py new file mode 100644 index 0000000..036fdb4 --- /dev/null +++ b/snw_ui/snw_ui/doctype/lmncustomertableitem/test_lmncustomertableitem.py @@ -0,0 +1,9 @@ +# Copyright (c) 2025, Shiloh Code LLC and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class TestLMNCustomerTableItem(FrappeTestCase): + pass