mirror of
https://github.com/meichthys/church.git
synced 2026-02-07 17:33:42 +00:00
Add Church Belief doctype
This commit is contained in:
parent
8aa5dded3b
commit
470cde64b2
0
church/church/doctype/church_belief/__init__.py
Normal file
0
church/church/doctype/church_belief/__init__.py
Normal file
8
church/church/doctype/church_belief/church_belief.js
Normal file
8
church/church/doctype/church_belief/church_belief.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2025, meichthys and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
// frappe.ui.form.on("Church Belief", {
|
||||
// refresh(frm) {
|
||||
|
||||
// },
|
||||
// });
|
||||
69
church/church/doctype/church_belief/church_belief.json
Normal file
69
church/church/doctype/church_belief/church_belief.json
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "format:{title}",
|
||||
"creation": "2025-09-17 21:36:27.516552",
|
||||
"description": "Specific beliefs of the church",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"title",
|
||||
"belief_statement",
|
||||
"bible_references"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"in_filter": 1,
|
||||
"in_list_view": 1,
|
||||
"in_preview": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Title",
|
||||
"reqd": 1,
|
||||
"unique": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "belief_statement",
|
||||
"fieldtype": "Text Editor",
|
||||
"in_list_view": 1,
|
||||
"label": "Belief Statement",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "bible_references",
|
||||
"fieldtype": "Table",
|
||||
"label": "Bible References",
|
||||
"options": "Church Bible Reference"
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2025-09-17 23:31:17.156634",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Church",
|
||||
"name": "Church Belief",
|
||||
"naming_rule": "Expression",
|
||||
"owner": "Administrator",
|
||||
"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",
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"states": [],
|
||||
"track_changes": 1
|
||||
}
|
||||
9
church/church/doctype/church_belief/church_belief.py
Normal file
9
church/church/doctype/church_belief/church_belief.py
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2025, meichthys and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class ChurchBelief(Document):
|
||||
pass
|
||||
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2025, meichthys and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.tests.utils import FrappeTestCase
|
||||
|
||||
|
||||
class TestChurchBelief(FrappeTestCase):
|
||||
pass
|
||||
Loading…
x
Reference in New Issue
Block a user