From ef3665c456b671aa0229a10c88fcca38d24c8411 Mon Sep 17 00:00:00 2001 From: leontutte Date: Thu, 23 Apr 2026 19:11:41 +0000 Subject: Readded family_assistence_permit --- .../sh_family_assistance_permit/__init__.py | 0 .../sh_family_assistance_permit.js | 8 ++ .../sh_family_assistance_permit.json | 103 +++++++++++++++++++++ .../sh_family_assistance_permit.py | 9 ++ .../test_sh_family_assistance_permit.py | 9 ++ .../doctype/sh_family_assitance_permit/__init__.py | 0 .../sh_family_assitance_permit.js | 8 -- .../sh_family_assitance_permit.json | 88 ------------------ .../sh_family_assitance_permit.py | 9 -- .../test_sh_family_assitance_permit.py | 9 -- supportive_help/translations/de.csv | 3 +- supportive_help/translations/en.csv | 3 +- 12 files changed, 133 insertions(+), 116 deletions(-) create mode 100644 supportive_help/supportive_help/doctype/sh_family_assistance_permit/__init__.py create mode 100644 supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.js create mode 100644 supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.json create mode 100644 supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.py create mode 100644 supportive_help/supportive_help/doctype/sh_family_assistance_permit/test_sh_family_assistance_permit.py delete mode 100644 supportive_help/supportive_help/doctype/sh_family_assitance_permit/__init__.py delete mode 100644 supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.js delete mode 100644 supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.json delete mode 100644 supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.py delete mode 100644 supportive_help/supportive_help/doctype/sh_family_assitance_permit/test_sh_family_assitance_permit.py (limited to 'supportive_help') diff --git a/supportive_help/supportive_help/doctype/sh_family_assistance_permit/__init__.py b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.js b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.js new file mode 100644 index 0000000..6976c84 --- /dev/null +++ b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.js @@ -0,0 +1,8 @@ +// Copyright (c) 2026, Leon Zimmermann and contributors +// For license information, please see license.txt + +// frappe.ui.form.on("sh_family_assistance_permit", { +// refresh(frm) { + +// }, +// }); diff --git a/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.json b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.json new file mode 100644 index 0000000..8b167cd --- /dev/null +++ b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.json @@ -0,0 +1,103 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2026-04-23 20:50:57.527659", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "section_break_6zcm", + "family", + "column_break_glhk", + "other_section", + "amended_from" + ], + "fields": [ + { + "fieldname": "section_break_6zcm", + "fieldtype": "Section Break" + }, + { + "fieldname": "amended_from", + "fieldtype": "Link", + "label": "Amended From", + "no_copy": 1, + "options": "sh_family_assistance_permit", + "print_hide": 1, + "read_only": 1, + "search_index": 1 + }, + { + "fieldname": "family", + "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, + "label": "Family", + "options": "sh_family", + "set_only_once": 1 + }, + { + "fieldname": "column_break_glhk", + "fieldtype": "Column Break" + }, + { + "fieldname": "other_section", + "fieldtype": "Section Break", + "label": "Other" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "is_submittable": 1, + "links": [], + "modified": "2026-04-23 20:59:22.121031", + "modified_by": "Administrator", + "module": "Supportive Help", + "name": "sh_family_assistance_permit", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "submit": 1, + "write": 1 + }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Supportive Help Manager", + "select": 1, + "share": 1, + "submit": 1, + "write": 1 + }, + { + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "Supportive Help User", + "select": 1, + "share": 1 + } + ], + "row_format": "Dynamic", + "rows_threshold_for_grid_search": 20, + "sort_field": "modified", + "sort_order": "DESC", + "states": [], + "track_changes": 1, + "track_seen": 1 +} \ No newline at end of file diff --git a/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.py b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.py new file mode 100644 index 0000000..a0916bf --- /dev/null +++ b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/sh_family_assistance_permit.py @@ -0,0 +1,9 @@ +# Copyright (c) 2026, Leon Zimmermann and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + + +class sh_family_assistance_permit(Document): + pass diff --git a/supportive_help/supportive_help/doctype/sh_family_assistance_permit/test_sh_family_assistance_permit.py b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/test_sh_family_assistance_permit.py new file mode 100644 index 0000000..e77a4c7 --- /dev/null +++ b/supportive_help/supportive_help/doctype/sh_family_assistance_permit/test_sh_family_assistance_permit.py @@ -0,0 +1,9 @@ +# Copyright (c) 2026, Leon Zimmermann and Contributors +# See license.txt + +# import frappe +from frappe.tests.utils import FrappeTestCase + + +class Testsh_family_assistance_permit(FrappeTestCase): + pass diff --git a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/__init__.py b/supportive_help/supportive_help/doctype/sh_family_assitance_permit/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.js b/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.js deleted file mode 100644 index cd6d2c1..0000000 --- a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2026, Leon Zimmermann and contributors -// For license information, please see license.txt - -// frappe.ui.form.on("sh_family_assitance_permit", { -// refresh(frm) { - -// }, -// }); diff --git a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.json b/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.json deleted file mode 100644 index 2eeabb4..0000000 --- a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "actions": [], - "allow_rename": 1, - "creation": "2026-04-23 20:42:55.208912", - "doctype": "DocType", - "engine": "InnoDB", - "field_order": [ - "section_break_zll8", - "amended_from", - "connections_tab" - ], - "fields": [ - { - "fieldname": "section_break_zll8", - "fieldtype": "Section Break" - }, - { - "fieldname": "amended_from", - "fieldtype": "Link", - "label": "Amended From", - "no_copy": 1, - "options": "sh_family_assitance_permit", - "print_hide": 1, - "read_only": 1, - "search_index": 1 - }, - { - "fieldname": "connections_tab", - "fieldtype": "Tab Break", - "label": "Connections" - } - ], - "grid_page_length": 50, - "index_web_pages_for_search": 1, - "is_submittable": 1, - "links": [], - "modified": "2026-04-23 20:44:35.232452", - "modified_by": "Administrator", - "module": "Supportive Help", - "name": "sh_family_assitance_permit", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "submit": 1, - "write": 1 - }, - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "Supportive Help Manager", - "select": 1, - "share": 1, - "submit": 1, - "write": 1 - }, - { - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "Supportive Help User", - "select": 1, - "share": 1 - } - ], - "row_format": "Dynamic", - "rows_threshold_for_grid_search": 20, - "sort_field": "modified", - "sort_order": "DESC", - "states": [], - "track_changes": 1, - "track_seen": 1 -} \ No newline at end of file diff --git a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.py b/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.py deleted file mode 100644 index 7862b9a..0000000 --- a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/sh_family_assitance_permit.py +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2026, Leon Zimmermann and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - - -class sh_family_assitance_permit(Document): - pass diff --git a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/test_sh_family_assitance_permit.py b/supportive_help/supportive_help/doctype/sh_family_assitance_permit/test_sh_family_assitance_permit.py deleted file mode 100644 index 65413da..0000000 --- a/supportive_help/supportive_help/doctype/sh_family_assitance_permit/test_sh_family_assitance_permit.py +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2026, Leon Zimmermann and Contributors -# See license.txt - -# import frappe -from frappe.tests.utils import FrappeTestCase - - -class Testsh_family_assitance_permit(FrappeTestCase): - pass diff --git a/supportive_help/translations/de.csv b/supportive_help/translations/de.csv index 38d8aa9..81268f4 100644 --- a/supportive_help/translations/de.csv +++ b/supportive_help/translations/de.csv @@ -91,4 +91,5 @@ "joint custody","Geteilte Vollmacht" "Notes","Notizen" "Word Count","Wortanzahl" -"sh_family_note","Notiz" \ No newline at end of file +"sh_family_note","Notiz" +"sh_family_assistance_permit","Bewilligung" \ No newline at end of file diff --git a/supportive_help/translations/en.csv b/supportive_help/translations/en.csv index 0842f84..3cf5f29 100644 --- a/supportive_help/translations/en.csv +++ b/supportive_help/translations/en.csv @@ -5,4 +5,5 @@ "sh_family","Family" "sh_family_member","Family Member" "sh_person_law","Person Law" -"sh_family_note","Family Note" \ No newline at end of file +"sh_family_note","Family Note" +"sh_family_assistance_permit","Family Assistance Permit" \ No newline at end of file -- cgit v1.2.3