From bf11832d2e53fcc8e0857495767bb9f490ff33d0 Mon Sep 17 00:00:00 2001 From: OsCoder Date: Wed, 8 Apr 2026 10:41:57 +0000 Subject: Removed family note --- .../doctype/sh_family_note/__init__.py | 0 .../doctype/sh_family_note/sh_family_note.json | 53 ---------------------- .../doctype/sh_family_note/sh_family_note.py | 14 ------ 3 files changed, 67 deletions(-) delete mode 100644 supportive_help/supportive_help/doctype/sh_family_note/__init__.py delete mode 100644 supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.json delete mode 100644 supportive_help/supportive_help/doctype/sh_family_note/sh_family_note.py 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 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}" -- cgit v1.2.3