Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aumms stages #161

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 178 additions & 0 deletions aumms/aumms/custom/project_template_task.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"custom_fields": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 2,
"creation": "2023-10-20 16:27:45.995737",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Project Template Task",
"fetch_from": "task.type",
"fetch_if_empty": 0,
"fieldname": "custom_task_type",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 3,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "subject",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Task Type",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-10-20 16:27:45.995737",
"modified_by": "[email protected]",
"module": null,
"name": "Project Template Task-custom_task_type",
"no_copy": 0,
"non_negative": 0,
"options": "DocType",
"owner": "[email protected]",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 2,
"creation": "2023-10-21 11:52:49.717440",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Project Template Task",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "custom_assigned_to",
"fieldtype": "Dynamic Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 4,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "custom_task_type",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Assigned To",
"length": 0,
"mandatory_depends_on": null,
"modified": "2023-10-21 11:52:49.717440",
"modified_by": "[email protected]",
"module": null,
"name": "Project Template Task-custom_assigned_to",
"no_copy": 0,
"non_negative": 0,
"options": "custom_task_type",
"owner": "[email protected]",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
}
],
"custom_perms": [],
"doctype": "Project Template Task",
"links": [],
"property_setters": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2023-10-21 12:02:58.157047",
"default_value": null,
"doc_type": "Project Template Task",
"docstatus": 0,
"doctype_or_field": "DocType",
"field_name": null,
"idx": 0,
"is_system_generated": 0,
"modified": "2023-10-21 12:02:58.157047",
"modified_by": "[email protected]",
"module": null,
"name": "Project Template Task-main-field_order",
"owner": "[email protected]",
"property": "field_order",
"property_type": "Data",
"row_name": null,
"value": "[\"task\", \"subject\", \"custom_task_type\", \"custom_assigned_to\"]"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2023-10-20 16:15:25.684421",
"default_value": null,
"doc_type": "Project Template Task",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "subject",
"idx": 0,
"is_system_generated": 0,
"modified": "2023-10-20 16:15:25.684421",
"modified_by": "[email protected]",
"module": null,
"name": "Project Template Task-subject-columns",
"owner": "[email protected]",
"property": "columns",
"property_type": "Int",
"row_name": null,
"value": "4"
}
],
"sync_on_migrate": 0
}
Empty file.
8 changes: 8 additions & 0 deletions aumms/aumms/doctype/aumms_stages/aumms_stages.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2023, efeone and contributors
// For license information, please see license.txt

frappe.ui.form.on('AuMMS Stages', {
// refresh: function(frm) {

// }
});
96 changes: 96 additions & 0 deletions aumms/aumms/doctype/aumms_stages/aumms_stages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2023-10-20 11:30:05.667088",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"stage_name",
"section_break_amohr",
"operation",
"workstation",
"column_break_zqyb8",
"workstation_type",
"column_break_gqxly",
"description",
"task"
],
"fields": [
{
"fieldname": "stage_name",
"fieldtype": "Data",
"in_list_view": 1,
"label": "Stage Name",
"reqd": 1
},
{
"fieldname": "section_break_amohr",
"fieldtype": "Section Break"
},
{
"fieldname": "operation",
"fieldtype": "Link",
"label": "Operation",
"options": "Operation",
"unique": 1
},
{
"fetch_from": "operation.workstation",
"fieldname": "workstation",
"fieldtype": "Link",
"label": "Workstation",
"options": "Workstation"
},
{
"fieldname": "column_break_zqyb8",
"fieldtype": "Column Break"
},
{
"fetch_from": "workstation.workstation_type",
"fieldname": "workstation_type",
"fieldtype": "Data",
"label": "Workstation Type"
},
{
"fieldname": "column_break_gqxly",
"fieldtype": "Section Break"
},
{
"fieldname": "description",
"fieldtype": "Small Text",
"label": "Description"
},
{
"fieldname": "task",
"fieldtype": "Table",
"label": "Tasks",
"options": "Project Template Task"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-27 16:19:11.585950",
"modified_by": "Administrator",
"module": "AuMMS",
"name": "AuMMS Stages",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}
8 changes: 8 additions & 0 deletions aumms/aumms/doctype/aumms_stages/aumms_stages.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2023, efeone and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document

class AuMMSStages(Document):
pass
9 changes: 9 additions & 0 deletions aumms/aumms/doctype/aumms_stages/test_aumms_stages.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2023, efeone and Contributors
# See license.txt

# import frappe
from frappe.tests.utils import FrappeTestCase


class TestAuMMSStages(FrappeTestCase):
pass
Loading