summaryrefslogtreecommitdiff
path: root/supportive_help
diff options
context:
space:
mode:
Diffstat (limited to 'supportive_help')
-rw-r--r--supportive_help/supportive_help/doctype/sh_family_note/__init__.py0
-rw-r--r--supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.json53
-rw-r--r--supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.py14
3 files changed, 0 insertions, 67 deletions
diff --git a/supportive_help/supportive_help/doctype/sh_family_note/__init__.py b/supportive_help/supportive_help/doctype/sh_family_note/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/supportive_help/supportive_help/doctype/sh_family_note/__init__.py
+++ /dev/null
diff --git a/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.json b/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.json
deleted file mode 100644
index 9da797b..0000000
--- a/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "actions": [],
- "allow_rename": 1,
- "creation": "2026-04-07 00:30:23.520579",
- "doctype": "DocType",
- "engine": "InnoDB",
- "field_order": [
- "overview_section",
- "note",
- "word_count"
- ],
- "fields": [
- {
- "allow_in_quick_entry": 1,
- "fieldname": "note",
- "fieldtype": "Text",
- "in_list_view": 1,
- "label": "Note"
- },
- {
- "default": "0",
- "fieldname": "word_count",
- "fieldtype": "Int",
- "in_list_view": 1,
- "label": "Word Count",
- "length": 6,
- "non_negative": 1,
- "print_hide": 1,
- "read_only": 1
- },
- {
- "fieldname": "overview_section",
- "fieldtype": "Section Break",
- "label": "Overview"
- }
- ],
- "grid_page_length": 50,
- "index_web_pages_for_search": 1,
- "istable": 1,
- "links": [],
- "modified": "2026-04-07 01:07:30.830406",
- "modified_by": "Administrator",
- "module": "Supportive Help",
- "name": "sh_family_note",
- "naming_rule": "By script",
- "owner": "Administrator",
- "permissions": [],
- "row_format": "Dynamic",
- "rows_threshold_for_grid_search": 20,
- "sort_field": "modified",
- "sort_order": "DESC",
- "states": []
-} \ No newline at end of file
diff --git a/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.py b/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.py
deleted file mode 100644
index 694baa0..0000000
--- a/supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright (c) 2026, Leon Zimmermann and contributors
-# For license information, please see license.txt
-
-import frappe
-from frappe.model.document import Document
-from frappe.utils import now_datetime
-
-
-class sh_family_note(Document):
- def autoname(self):
- parent_name = self.get("parent") or "unknown_parent"
- timestamp = now_datetime().strftime("%Y%m%d-%H%M%S")
- user = frappe.session.user
- self.name = f"{parent_name}-{timestamp}-{user}"