Planning module changes from Dev
This commit is contained in:
parent
ddf87d9268
commit
3155cc9e79
11768
planning/fixtures/custom_field.json
Normal file
11768
planning/fixtures/custom_field.json
Normal file
File diff suppressed because it is too large
Load Diff
1
planning/fixtures/project_css_document.json
Normal file
1
planning/fixtures/project_css_document.json
Normal file
@ -0,0 +1 @@
|
||||
[]
|
||||
@ -179,3 +179,4 @@ user_data_fields = [
|
||||
# "planning.auth.validate"
|
||||
# ]
|
||||
|
||||
fixtures = ['Custom Field','Project CSS Document']
|
||||
|
||||
@ -0,0 +1,37 @@
|
||||
{
|
||||
"chart_name": "Campaign Readiness Campaign vs %Completed Report",
|
||||
"chart_type": "Report",
|
||||
"creation": "2023-02-24 14:34:39.111634",
|
||||
"custom_options": "{\"x_field\": \"campaign\", \"chart_type\": \"Bar\", \"y_axis_fields\": [{\"idx\": 1, \"__islocal\": true, \"name\": \"row 1\", \"y_field\": \"completed\", \"color\": \"#B4CD29\"}], \"y_fields\": [\"completed\"], \"colors\": [\"#B4CD29\"]}",
|
||||
"docstatus": 0,
|
||||
"doctype": "Dashboard Chart",
|
||||
"filters_json": "{}",
|
||||
"group_by_type": "Count",
|
||||
"idx": 0,
|
||||
"is_public": 1,
|
||||
"is_standard": 1,
|
||||
"modified": "2023-02-24 15:32:33.748993",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Readiness Campaign vs %Completed Report",
|
||||
"number_of_groups": 0,
|
||||
"owner": "Administrator",
|
||||
"report_name": "Campaign Readiness Report",
|
||||
"roles": [
|
||||
{
|
||||
"role": "All"
|
||||
}
|
||||
],
|
||||
"time_interval": "Yearly",
|
||||
"timeseries": 0,
|
||||
"timespan": "Last Year",
|
||||
"type": "Bar",
|
||||
"use_report_chart": 0,
|
||||
"x_field": "campaign",
|
||||
"y_axis": [
|
||||
{
|
||||
"color": "#B4CD29",
|
||||
"y_field": "completed"
|
||||
}
|
||||
]
|
||||
}
|
||||
0
planning/planning/doctype/__init__.py
Normal file
0
planning/planning/doctype/__init__.py
Normal file
0
planning/planning/doctype/bag_and_tag/__init__.py
Normal file
0
planning/planning/doctype/bag_and_tag/__init__.py
Normal file
8
planning/planning/doctype/bag_and_tag/bag_and_tag.js
Normal file
8
planning/planning/doctype/bag_and_tag/bag_and_tag.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Bag and Tag', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
176
planning/planning/doctype/bag_and_tag/bag_and_tag.json
Normal file
176
planning/planning/doctype/bag_and_tag/bag_and_tag.json
Normal file
@ -0,0 +1,176 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "format:BagTag-{campaign}-{won}",
|
||||
"creation": "2022-11-14 15:25:03.966405",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"based_on",
|
||||
"section_break_2",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"target_completion_date",
|
||||
"column_break_3",
|
||||
"project_id",
|
||||
"campaign",
|
||||
"completed",
|
||||
"column_break_6",
|
||||
"won",
|
||||
"status",
|
||||
"bag_and_tag_section",
|
||||
"bag_and_tag",
|
||||
"column_break_11",
|
||||
"bagtag_descrption",
|
||||
"column_break_13",
|
||||
"bag_and_tag_completed",
|
||||
"column_break_20",
|
||||
"bag_and_tag_status",
|
||||
"bagtag_status"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "bag_and_tag",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Bag and Tag"
|
||||
},
|
||||
{
|
||||
"default": "Today",
|
||||
"fieldname": "target_completion_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Target Completion Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Int",
|
||||
"in_list_view": 1,
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "In Progress\nCompleted\nSent for Approval\nApproved"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_3",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "bag_and_tag_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "Bag and Tag Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "BagTag-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"fieldname": "bag_and_tag_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Bag and Tag"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_11",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_13",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "BagTag Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "bag_and_tag_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Bag and Tag Status"
|
||||
},
|
||||
{
|
||||
"fieldname": "based_on",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Based On",
|
||||
"options": "\nCampaign Readiness\nProject Readiness"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_2",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on== 'Project Readiness'",
|
||||
"fieldname": "project_id",
|
||||
"fieldtype": "Data",
|
||||
"label": "Project ID"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_20",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_descrption",
|
||||
"fieldtype": "Text",
|
||||
"label": "BagTag Descrption"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-23 13:43:37.043531",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Bag and Tag",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/bag_and_tag/bag_and_tag.py
Normal file
8
planning/planning/doctype/bag_and_tag/bag_and_tag.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class BagandTag(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestBagandTag(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/bolt_table/__init__.py
Normal file
0
planning/planning/doctype/bolt_table/__init__.py
Normal file
8
planning/planning/doctype/bolt_table/bolt_table.js
Normal file
8
planning/planning/doctype/bolt_table/bolt_table.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Bolt Table', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
47
planning/planning/doctype/bolt_table/bolt_table.json
Normal file
47
planning/planning/doctype/bolt_table/bolt_table.json
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2022-12-27 16:15:08.598566",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"verified_by",
|
||||
"namecompany",
|
||||
"signature",
|
||||
"date"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "verified_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Verified By"
|
||||
},
|
||||
{
|
||||
"fieldname": "namecompany",
|
||||
"fieldtype": "Data",
|
||||
"label": "Name/Company"
|
||||
},
|
||||
{
|
||||
"fieldname": "signature",
|
||||
"fieldtype": "Data",
|
||||
"label": "Signature"
|
||||
},
|
||||
{
|
||||
"fieldname": "date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Date"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-27 16:17:06.882245",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Bolt Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
8
planning/planning/doctype/bolt_table/bolt_table.py
Normal file
8
planning/planning/doctype/bolt_table/bolt_table.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class BoltTable(Document):
|
||||
pass
|
||||
8
planning/planning/doctype/bolt_table/test_bolt_table.py
Normal file
8
planning/planning/doctype/bolt_table/test_bolt_table.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestBoltTable(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/bolt_torquing/__init__.py
Normal file
0
planning/planning/doctype/bolt_torquing/__init__.py
Normal file
8
planning/planning/doctype/bolt_torquing/bolt_torquing.js
Normal file
8
planning/planning/doctype/bolt_torquing/bolt_torquing.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('BOLT TORQUING', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
153
planning/planning/doctype/bolt_torquing/bolt_torquing.json
Normal file
153
planning/planning/doctype/bolt_torquing/bolt_torquing.json
Normal file
@ -0,0 +1,153 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2022-12-27 15:59:00.837783",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"report_no",
|
||||
"client",
|
||||
"contract_no",
|
||||
"powo_no",
|
||||
"date",
|
||||
"project",
|
||||
"column_break_7",
|
||||
"location",
|
||||
"specification",
|
||||
"acceptance_criteria",
|
||||
"material",
|
||||
"nsp_procedure",
|
||||
"line_no",
|
||||
"section_break_14",
|
||||
"table_15",
|
||||
"torquing_equipment_details",
|
||||
"torque_wrench_slno",
|
||||
"calibration_certificate_no_calibration_due_date",
|
||||
"section_break_18",
|
||||
"table_20"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "report_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Report No"
|
||||
},
|
||||
{
|
||||
"fieldname": "client",
|
||||
"fieldtype": "Link",
|
||||
"label": "Client",
|
||||
"options": "Customer"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Contract No"
|
||||
},
|
||||
{
|
||||
"fieldname": "powo_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "PO/WO No"
|
||||
},
|
||||
{
|
||||
"fieldname": "date",
|
||||
"fieldtype": "Data",
|
||||
"label": "Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "project",
|
||||
"fieldtype": "Data",
|
||||
"label": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_7",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Data",
|
||||
"label": "Location"
|
||||
},
|
||||
{
|
||||
"fieldname": "specification",
|
||||
"fieldtype": "Data",
|
||||
"label": "Specification"
|
||||
},
|
||||
{
|
||||
"fieldname": "acceptance_criteria",
|
||||
"fieldtype": "Data",
|
||||
"label": "Acceptance Criteria"
|
||||
},
|
||||
{
|
||||
"fieldname": "material",
|
||||
"fieldtype": "Data",
|
||||
"label": "Material"
|
||||
},
|
||||
{
|
||||
"fieldname": "nsp_procedure",
|
||||
"fieldtype": "Data",
|
||||
"label": "NSP Procedure"
|
||||
},
|
||||
{
|
||||
"fieldname": "line_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Line No"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_14",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "torquing_equipment_details",
|
||||
"fieldtype": "Data",
|
||||
"label": "Torquing Equipment Details"
|
||||
},
|
||||
{
|
||||
"fieldname": "torque_wrench_slno",
|
||||
"fieldtype": "Data",
|
||||
"label": "Torque Wrench Sl.No"
|
||||
},
|
||||
{
|
||||
"fieldname": "calibration_certificate_no_calibration_due_date",
|
||||
"fieldtype": "Data",
|
||||
"label": "Calibration Certificate No/ Calibration Due Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_18",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "table_15",
|
||||
"fieldtype": "Table",
|
||||
"options": "BOLT Torquing Checklist Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "table_20",
|
||||
"fieldtype": "Table",
|
||||
"options": "Bolt Table"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-27 16:15:34.940367",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "BOLT TORQUING",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/bolt_torquing/bolt_torquing.py
Normal file
8
planning/planning/doctype/bolt_torquing/bolt_torquing.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class BOLTTORQUING(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestBOLTTORQUING(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,71 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2022-12-27 15:39:39.996805",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"drawing_no",
|
||||
"flange_id_no",
|
||||
"stud_bolt_size_dia",
|
||||
"lubricant",
|
||||
"torquenm",
|
||||
"torqueibs",
|
||||
"torque_method",
|
||||
"remarks"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "drawing_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Drawing No"
|
||||
},
|
||||
{
|
||||
"fieldname": "flange_id_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Flange ID No"
|
||||
},
|
||||
{
|
||||
"fieldname": "stud_bolt_size_dia",
|
||||
"fieldtype": "Data",
|
||||
"label": "STUD BOLT SIZE DIA"
|
||||
},
|
||||
{
|
||||
"fieldname": "lubricant",
|
||||
"fieldtype": "Data",
|
||||
"label": "LUBRICANT"
|
||||
},
|
||||
{
|
||||
"fieldname": "torquenm",
|
||||
"fieldtype": "Data",
|
||||
"label": "TORQUE(N.m)"
|
||||
},
|
||||
{
|
||||
"fieldname": "torqueibs",
|
||||
"fieldtype": "Data",
|
||||
"label": "TORQUE(Ibs)"
|
||||
},
|
||||
{
|
||||
"fieldname": "torque_method",
|
||||
"fieldtype": "Data",
|
||||
"label": "TORQUE METHOD"
|
||||
},
|
||||
{
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Data",
|
||||
"label": "REMARKS"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-27 15:39:39.996805",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "BOLT Torquing Checklist Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class BOLTTorquingChecklistTable(Document):
|
||||
pass
|
||||
@ -0,0 +1,36 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-01-31 20:57:22.610920",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"wons",
|
||||
"planned_activities"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "wons",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON's",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "planned_activities",
|
||||
"fieldtype": "Data",
|
||||
"label": "Planned Activities"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-01-31 20:57:22.610920",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Activities Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignActivitiesTable(Document):
|
||||
pass
|
||||
0
planning/planning/doctype/campaign_dpr/__init__.py
Normal file
0
planning/planning/doctype/campaign_dpr/__init__.py
Normal file
8
planning/planning/doctype/campaign_dpr/campaign_dpr.js
Normal file
8
planning/planning/doctype/campaign_dpr/campaign_dpr.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign DPR', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
176
planning/planning/doctype/campaign_dpr/campaign_dpr.json
Normal file
176
planning/planning/doctype/campaign_dpr/campaign_dpr.json
Normal file
@ -0,0 +1,176 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2023-01-31 18:50:12.741407",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"naming_series",
|
||||
"contract_no",
|
||||
"prepared_by",
|
||||
"accepted_by",
|
||||
"column_break_6",
|
||||
"contract_title",
|
||||
"checked_by",
|
||||
"reviewed_by",
|
||||
"section_break_9",
|
||||
"report_number",
|
||||
"cumplanned",
|
||||
"cumactual",
|
||||
"column_break_11",
|
||||
"date",
|
||||
"issue_date",
|
||||
"campaign",
|
||||
"section_break_14",
|
||||
"campaign_table",
|
||||
"won_table",
|
||||
"highlights_table",
|
||||
"planned_table",
|
||||
"section_break_19",
|
||||
"issues_and_concern"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "Campaign DPR-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Contract No"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract_title",
|
||||
"fieldtype": "Link",
|
||||
"label": "Contract Title",
|
||||
"options": "Contract"
|
||||
},
|
||||
{
|
||||
"fieldname": "report_number",
|
||||
"fieldtype": "Data",
|
||||
"label": "Report Number"
|
||||
},
|
||||
{
|
||||
"fieldname": "date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "issue_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Issue Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "prepared_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Prepared By"
|
||||
},
|
||||
{
|
||||
"fieldname": "checked_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Checked By"
|
||||
},
|
||||
{
|
||||
"fieldname": "reviewed_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Reviewed By"
|
||||
},
|
||||
{
|
||||
"fieldname": "accepted_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Accepted By"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_9",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_11",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign_table",
|
||||
"fieldtype": "Table",
|
||||
"label": "Campaign Table",
|
||||
"options": "Campaign Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_14",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_table",
|
||||
"fieldtype": "Table",
|
||||
"label": "WON Table",
|
||||
"options": "Campaign WON Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "highlights_table",
|
||||
"fieldtype": "Table",
|
||||
"label": "Highlight's Table",
|
||||
"options": "Campaign Highlight Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "planned_table",
|
||||
"fieldtype": "Table",
|
||||
"label": "Planned Table",
|
||||
"options": "Campaign Activities Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_19",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "issues_and_concern",
|
||||
"fieldtype": "Text",
|
||||
"label": "Issues and Concern"
|
||||
},
|
||||
{
|
||||
"fieldname": "cumplanned",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cum.Planned%"
|
||||
},
|
||||
{
|
||||
"fieldname": "cumactual",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cum.Actual%"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-15 14:45:28.753268",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign DPR",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/campaign_dpr/campaign_dpr.py
Normal file
8
planning/planning/doctype/campaign_dpr/campaign_dpr.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignDPR(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignDPR(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,36 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-01-31 20:48:14.783572",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"wons",
|
||||
"highlights"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "wons",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON's",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "highlights",
|
||||
"fieldtype": "Data",
|
||||
"label": "Highlights"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-01-31 20:48:14.783572",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Highlight Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignHighlightTable(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign Readiness', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,674 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2023-02-02 16:01:33.212358",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"workflow_state",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"year",
|
||||
"area",
|
||||
"location",
|
||||
"start_date",
|
||||
"end_date",
|
||||
"won_count",
|
||||
"column_break_6",
|
||||
"campaign",
|
||||
"campaign_description",
|
||||
"wons",
|
||||
"column_break_23",
|
||||
"completed",
|
||||
"status",
|
||||
"column_break_17",
|
||||
"won_percentage_details",
|
||||
"won_details",
|
||||
"design_document_section_section",
|
||||
"design_won_based_document",
|
||||
"design_workpack_document",
|
||||
"column_break_20",
|
||||
"design_status",
|
||||
"column_break_232",
|
||||
"design",
|
||||
"column_break_24",
|
||||
"design_readiness_indicator",
|
||||
"column_break_10",
|
||||
"won_based_document",
|
||||
"total_css_document",
|
||||
"column_break_98",
|
||||
"css_status_",
|
||||
"column_break_22",
|
||||
"total_percentage",
|
||||
"column_break_19",
|
||||
"check_20",
|
||||
"construction_document_section_section",
|
||||
"construction_won_based_document",
|
||||
"total_construction_document",
|
||||
"column_break_38",
|
||||
"construction_status",
|
||||
"column_break_40",
|
||||
"total_construction_percentage",
|
||||
"column_break_42",
|
||||
"readiness_indicator",
|
||||
"planning_document_section_section",
|
||||
"planning_won_based_document",
|
||||
"total_planning_document",
|
||||
"column_break_46",
|
||||
"planning_status",
|
||||
"column_break_48",
|
||||
"total_planning_percentage",
|
||||
"column_break_50",
|
||||
"check_51",
|
||||
"hse_section_section",
|
||||
"hse_won_based_document",
|
||||
"total_hse_document",
|
||||
"column_break_26",
|
||||
"hse_status_",
|
||||
"column_break_28",
|
||||
"total_hse_percentage",
|
||||
"column_break_60",
|
||||
"check_61",
|
||||
"qc_document_section_section",
|
||||
"qc_won_based_document",
|
||||
"total_qc_document",
|
||||
"column_break_65",
|
||||
"qc_status",
|
||||
"column_break_67",
|
||||
"total_qc_percentage",
|
||||
"column_break_69",
|
||||
"check_70",
|
||||
"material_document_section_section",
|
||||
"material_won_based_document",
|
||||
"total_material_document",
|
||||
"column_break_74",
|
||||
"material_status",
|
||||
"column_break_76",
|
||||
"total_material_percentage",
|
||||
"column_break_78",
|
||||
"check_79",
|
||||
"bagtag_document_section_section",
|
||||
"bagtag_won_based_document",
|
||||
"total_bagtag_document",
|
||||
"column_break_83",
|
||||
"bagtag_status",
|
||||
"column_break_85",
|
||||
"total_bagtag_percentage",
|
||||
"column_break_87",
|
||||
"check_88",
|
||||
"qs_document_section_section",
|
||||
"qs_won_based_document",
|
||||
"total_qs_document",
|
||||
"column_break_92",
|
||||
"qs_status",
|
||||
"column_break_94",
|
||||
"total_qs_percentage",
|
||||
"column_break_96",
|
||||
"check_97",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "workflow_state",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"label": "Workflow State",
|
||||
"options": "Workflow State"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "Campaign-Read-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "year",
|
||||
"fieldtype": "Data",
|
||||
"label": "Year"
|
||||
},
|
||||
{
|
||||
"fieldname": "area",
|
||||
"fieldtype": "Select",
|
||||
"label": "Area",
|
||||
"options": "\nDARAT EASTERN TANK GROUP\nDARAT WESTERN TANK GROUP\nDARAT NGCP\nDARAT RASAU\nDARAT OTHERS\nHP SCOT\nHP BGO\nHP PHM\nHP OTHERS\nLSM\nOTHERS"
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Select",
|
||||
"label": "Location",
|
||||
"options": "\nTANK GROUP 28\nTANK GROUP 29\nTANK GROUP 31\nTANK GROUP 27\nTANK GROUP 30\nTANK FRAM\nSNF\nEFFLUENT\nCDU\nBMS\nGMS\nTMS\nTGP\nJMS\nIGT\nFMS\nWTP\nDGRS\nBADAS\nSTL KB\nSTL MAURA\nSAV\nOTHERS"
|
||||
},
|
||||
{
|
||||
"fieldname": "start_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Start Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "end_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "End Date"
|
||||
},
|
||||
{
|
||||
"default": "1",
|
||||
"fieldname": "won_count",
|
||||
"fieldtype": "Int",
|
||||
"label": "WON Count"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign_description",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "wons",
|
||||
"fieldtype": "Text",
|
||||
"label": "WONs"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "won_details",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON ",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_23",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Overall Percentage and Status"
|
||||
},
|
||||
{
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "Pending\nCompleted"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Design Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Design WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_workpack_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Design Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_20",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Design Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_232",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "design",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Design Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_24",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "design_readiness_indicator",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_10",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "CSS Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "CSS WON Based Document"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_css_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total CSS Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_98",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "css_status_",
|
||||
"fieldtype": "Select",
|
||||
"label": "CSS Status_",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_22",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total CSS Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_19",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_20",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Construction Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Construction WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_construction_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Construction Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_38",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Construction Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_40",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_construction_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Construction Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_42",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "readiness_indicator",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Planning Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Planning WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_planning_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Planning Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_46",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Planning Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_48",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_planning_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Planning Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_50",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_51",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "HSE Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "HSE WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_hse_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total HSE Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_26",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_status_",
|
||||
"fieldtype": "Select",
|
||||
"label": "HSE Status_",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_28",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_hse_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total HSE Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_60",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_61",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "QC Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "QC WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_qc_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QC Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_65",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "QC Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_67",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_qc_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QC Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_69",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_70",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Material Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Material WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_material_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Material Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_74",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Material Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_76",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_material_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Material Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_78",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_79",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "BagTag Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "BagTag WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_bagtag_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total BagTag Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_83",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "BagTag Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_85",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_bagtag_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total BagTag Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_87",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_88",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "QS Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "QS WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_qs_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QS Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_92",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "QS Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_94",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_qs_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QS Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_96",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_97",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Campaign Readiness",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Float",
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_17",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_percentage_details",
|
||||
"fieldtype": "Button",
|
||||
"label": "WON Percentage Details"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-24 22:50:52.195481",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Readiness",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"select": 1,
|
||||
"set_user_permissions": 1,
|
||||
"share": 1,
|
||||
"submit": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"track_changes": 1,
|
||||
"track_views": 1
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignReadiness(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignReadiness(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,36 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-02-24 17:47:30.150979",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"won",
|
||||
"completed"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Float",
|
||||
"label": "%Completed"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-24 17:47:30.150979",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Readiness Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignReadinessTable(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign Readiness Test', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,694 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2023-02-27 13:51:18.870109",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"workflow_state",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"year",
|
||||
"area",
|
||||
"location",
|
||||
"start_date",
|
||||
"end_date",
|
||||
"won_count",
|
||||
"column_break_6",
|
||||
"campaign",
|
||||
"campaign_description",
|
||||
"wons",
|
||||
"column_break_23",
|
||||
"completed",
|
||||
"status",
|
||||
"column_break_17",
|
||||
"won_percentage_details",
|
||||
"won_details",
|
||||
"design_document_section_section",
|
||||
"design_won_based_document",
|
||||
"design_workpack_document",
|
||||
"column_break_20",
|
||||
"design_status",
|
||||
"column_break_232",
|
||||
"design",
|
||||
"column_break_24",
|
||||
"design_readiness_indicator",
|
||||
"column_break_10",
|
||||
"won_based_document",
|
||||
"total_css_document",
|
||||
"column_break_98",
|
||||
"css_status_",
|
||||
"column_break_22",
|
||||
"total_percentage",
|
||||
"column_break_19",
|
||||
"check_20",
|
||||
"construction_document_section_section",
|
||||
"construction_won_based_document",
|
||||
"total_construction_document",
|
||||
"column_break_38",
|
||||
"construction_status",
|
||||
"column_break_40",
|
||||
"total_construction_percentage",
|
||||
"column_break_42",
|
||||
"readiness_indicator",
|
||||
"planning_document_section_section",
|
||||
"planning_won_based_document",
|
||||
"total_planning_document",
|
||||
"column_break_46",
|
||||
"planning_status",
|
||||
"column_break_48",
|
||||
"total_planning_percentage",
|
||||
"column_break_50",
|
||||
"check_51",
|
||||
"hse_section_section",
|
||||
"hse_won_based_document",
|
||||
"total_hse_document",
|
||||
"column_break_26",
|
||||
"hse_status_",
|
||||
"column_break_28",
|
||||
"total_hse_percentage",
|
||||
"column_break_60",
|
||||
"check_61",
|
||||
"qc_document_section_section",
|
||||
"qc_won_based_document",
|
||||
"total_qc_document",
|
||||
"column_break_65",
|
||||
"qc_status",
|
||||
"column_break_67",
|
||||
"total_qc_percentage",
|
||||
"column_break_69",
|
||||
"check_70",
|
||||
"material_document_section_section",
|
||||
"material_won_based_document",
|
||||
"total_material_document",
|
||||
"column_break_74",
|
||||
"material_status",
|
||||
"column_break_76",
|
||||
"total_material_percentage",
|
||||
"column_break_78",
|
||||
"check_79",
|
||||
"bagtag_document_section_section",
|
||||
"bagtag_won_based_document",
|
||||
"total_bagtag_document",
|
||||
"column_break_83",
|
||||
"bagtag_status",
|
||||
"column_break_85",
|
||||
"total_bagtag_percentage",
|
||||
"column_break_87",
|
||||
"check_88",
|
||||
"qs_document_section_section",
|
||||
"qs_won_based_document",
|
||||
"total_qs_document",
|
||||
"column_break_92",
|
||||
"qs_status",
|
||||
"column_break_94",
|
||||
"total_qs_percentage",
|
||||
"column_break_96",
|
||||
"check_97",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "workflow_state",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"label": "Workflow State",
|
||||
"options": "Workflow State"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "Campaign-Read-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "year",
|
||||
"fieldtype": "Data",
|
||||
"label": "Year"
|
||||
},
|
||||
{
|
||||
"fieldname": "area",
|
||||
"fieldtype": "Select",
|
||||
"label": "Area",
|
||||
"options": "\nDARAT EASTERN TANK GROUP\nDARAT WESTERN TANK GROUP\nDARAT NGCP\nDARAT RASAU\nDARAT OTHERS\nHP SCOT\nHP BGO\nHP PHM\nHP OTHERS\nLSM\nOTHERS"
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Select",
|
||||
"label": "Location",
|
||||
"options": "\nTANK GROUP 28\nTANK GROUP 29\nTANK GROUP 31\nTANK GROUP 27\nTANK GROUP 30\nTANK FRAM\nSNF\nEFFLUENT\nCDU\nBMS\nGMS\nTMS\nTGP\nJMS\nIGT\nFMS\nWTP\nDGRS\nBADAS\nSTL KB\nSTL MAURA\nSAV\nOTHERS"
|
||||
},
|
||||
{
|
||||
"fieldname": "start_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Start Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "end_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "End Date"
|
||||
},
|
||||
{
|
||||
"default": "1",
|
||||
"fieldname": "won_count",
|
||||
"fieldtype": "Int",
|
||||
"label": "WON Count"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign_description",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "wons",
|
||||
"fieldtype": "Text",
|
||||
"label": "WONs"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_23",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "Overall Percentage and Status"
|
||||
},
|
||||
{
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Select",
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "Pending\nCompleted"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_17",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_percentage_details",
|
||||
"fieldtype": "Button",
|
||||
"label": "WON Percentage Details"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "won_details",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"label": "WON ",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "Design Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Design WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_workpack_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Design Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_20",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Design Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_232",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "design",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Design Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_24",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "design_readiness_indicator",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_10",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "CSS Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "CSS WON Based Document"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_css_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total CSS Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_98",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "css_status_",
|
||||
"fieldtype": "Select",
|
||||
"label": "CSS Status_",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_22",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total CSS Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_19",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_20",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "Construction Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Construction WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_construction_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Construction Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_38",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Construction Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_40",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_construction_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Construction Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_42",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "readiness_indicator",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "Planning Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Planning WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_planning_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Planning Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_46",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "planning_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Planning Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_48",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_planning_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Planning Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_50",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_51",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "HSE Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "HSE WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_hse_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total HSE Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_26",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "hse_status_",
|
||||
"fieldtype": "Select",
|
||||
"label": "HSE Status_",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_28",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_hse_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total HSE Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_60",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_61",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "QC Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "QC WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_qc_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QC Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_65",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "qc_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "QC Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_67",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_qc_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QC Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_69",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_70",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "Material Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "Material WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_material_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Material Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_74",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "material_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Material Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_76",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_material_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total Material Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_78",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_79",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "BagTag Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "BagTag WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_bagtag_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total BagTag Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_83",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "bagtag_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "BagTag Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_85",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_bagtag_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total BagTag Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_87",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_88",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"label": "QS Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_won_based_document",
|
||||
"fieldtype": "Button",
|
||||
"label": "QS WON Based Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "total_qs_document",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QS Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_92",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "qs_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "QS Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_94",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "total_qs_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Total QS Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_96",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"default": "0",
|
||||
"fieldname": "check_97",
|
||||
"fieldtype": "Check",
|
||||
"label": "Readiness Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Campaign Readiness Test",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Campaign Readiness Test",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-03-01 16:18:42.514041",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Readiness Test",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"select": 1,
|
||||
"set_user_permissions": 1,
|
||||
"share": 1,
|
||||
"submit": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"track_changes": 1,
|
||||
"track_views": 1
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignReadinessTest(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignReadinessTest(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign Table', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
77
planning/planning/doctype/campaign_table/campaign_table.json
Normal file
77
planning/planning/doctype/campaign_table/campaign_table.json
Normal file
@ -0,0 +1,77 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-01-31 19:25:21.765259",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"campaign_no",
|
||||
"campaign_name",
|
||||
"plan_start",
|
||||
"plan_finish",
|
||||
"actual_start",
|
||||
"actual_finish",
|
||||
"cumplan",
|
||||
"cumactual",
|
||||
"variance"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "campaign_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign No"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign Name"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_start",
|
||||
"fieldtype": "Date",
|
||||
"label": "Plan Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_finish",
|
||||
"fieldtype": "Date",
|
||||
"label": "Plan Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_start",
|
||||
"fieldtype": "Date",
|
||||
"label": "Actual Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_finish",
|
||||
"fieldtype": "Date",
|
||||
"label": "Actual Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "cumplan",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cum.Plan%"
|
||||
},
|
||||
{
|
||||
"fieldname": "cumactual",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cum.Actual%"
|
||||
},
|
||||
{
|
||||
"fieldname": "variance",
|
||||
"fieldtype": "Data",
|
||||
"label": "Variance%"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-01-31 19:26:14.478165",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignTable(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignTable(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign WON Data', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,36 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-02-24 22:44:51.152578",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"won_data",
|
||||
"completed"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "won_data",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Float",
|
||||
"label": "%Completed"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-25 00:14:21.455599",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign WON Data",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignWONData(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignWONData(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Campaign WON Level Percentage', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,48 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-02-25 00:16:39.815726",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"campaign",
|
||||
"won_percentage_table"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "won_percentage_table",
|
||||
"fieldtype": "Table",
|
||||
"label": "WON Percentage Table",
|
||||
"options": "Campaign WON Data"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-25 00:17:52.656035",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign WON Level Percentage",
|
||||
"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"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignWONLevelPercentage(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCampaignWONLevelPercentage(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,90 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2023-01-31 20:07:52.732877",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"wons",
|
||||
"description",
|
||||
"plan_start",
|
||||
"plan_finish",
|
||||
"planned_hrs",
|
||||
"actual_start",
|
||||
"actual_finish",
|
||||
"actual_hrs",
|
||||
"plan",
|
||||
"actual",
|
||||
"variance"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "wons",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON's",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Data",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_start",
|
||||
"fieldtype": "Datetime",
|
||||
"label": "Plan Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_finish",
|
||||
"fieldtype": "Datetime",
|
||||
"label": "Plan Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_start",
|
||||
"fieldtype": "Datetime",
|
||||
"label": "Actual Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_finish",
|
||||
"fieldtype": "Datetime",
|
||||
"label": "Actual Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan",
|
||||
"fieldtype": "Percent",
|
||||
"label": "Plan%"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual",
|
||||
"fieldtype": "Percent",
|
||||
"label": "Actual%"
|
||||
},
|
||||
{
|
||||
"fieldname": "variance",
|
||||
"fieldtype": "Percent",
|
||||
"label": "Variance%"
|
||||
},
|
||||
{
|
||||
"fieldname": "planned_hrs",
|
||||
"fieldtype": "Data",
|
||||
"label": "Planned hrs"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_hrs",
|
||||
"fieldtype": "Data",
|
||||
"label": "Actual Hrs"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-03-28 18:38:30.515923",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Campaign WON Table",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CampaignWONTable(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Certificate Of Acceptance', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,270 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2022-12-05 17:28:51.597162",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"cert_no",
|
||||
"client",
|
||||
"project",
|
||||
"location",
|
||||
"column_break_5",
|
||||
"area",
|
||||
"date_of_handover",
|
||||
"won_no__po_no",
|
||||
"section_break_9",
|
||||
"bsp_12std0810______the_welding_of_metals",
|
||||
"bsp_12std0204__design_of_onshore_civil_and_structural_works",
|
||||
"bsp_12std0910__paintingcoating_of_production",
|
||||
"bsp_12std0103__bolt_torquing",
|
||||
"dep_62100811_gen__inspection_n_functional_testing",
|
||||
"column_break_13",
|
||||
"dep_61402030_gen__welding_of_pipelines_and_related_facilities",
|
||||
"bsp_12std0102__leak_testing",
|
||||
"data_16",
|
||||
"bsp_12std0104_pressure_testing_of_pipework",
|
||||
"data_18",
|
||||
"other",
|
||||
"section_break_22",
|
||||
"remarks",
|
||||
"_section",
|
||||
"prepared_by",
|
||||
"name1",
|
||||
"signature",
|
||||
"date",
|
||||
"column_break_29",
|
||||
"verified_by",
|
||||
"name_",
|
||||
"signature_",
|
||||
"date_",
|
||||
"column_break_34",
|
||||
"accepted_by",
|
||||
"name__",
|
||||
"signature__",
|
||||
"date__"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "cert_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "CERT No"
|
||||
},
|
||||
{
|
||||
"fieldname": "client",
|
||||
"fieldtype": "Link",
|
||||
"label": "Client",
|
||||
"options": "Customer"
|
||||
},
|
||||
{
|
||||
"fieldname": "project",
|
||||
"fieldtype": "Data",
|
||||
"label": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Data",
|
||||
"label": "Location"
|
||||
},
|
||||
{
|
||||
"fieldname": "area",
|
||||
"fieldtype": "Data",
|
||||
"label": "Area"
|
||||
},
|
||||
{
|
||||
"fieldname": "date_of_handover",
|
||||
"fieldtype": "Data",
|
||||
"label": "Date Of HandOver"
|
||||
},
|
||||
{
|
||||
"fieldname": "won_no__po_no",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON No / PO No",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0810______the_welding_of_metals",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.08.1.0 The Welding of Metals"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0204__design_of_onshore_civil_and_structural_works",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.02.04 Design of onshore civil and structural works"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0910__paintingcoating_of_production",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.09.1.0 Painting/Coating of Production"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0103__bolt_torquing",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.01.03 Bolt Torquing"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "dep_62100811_gen__inspection_n_functional_testing",
|
||||
"fieldtype": "Check",
|
||||
"label": "DEP_62.10.08.11_Gen Inspection n functional Testing "
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_13",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "dep_61402030_gen__welding_of_pipelines_and_related_facilities",
|
||||
"fieldtype": "Check",
|
||||
"label": "DEP_61.40.20.30_Gen Welding of Pipelines and Related Facilities "
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0102__leak_testing",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.01.02 Leak Testing"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "data_16",
|
||||
"fieldtype": "Check",
|
||||
"label": "DEP_31.40.40.38_Gen Hydrostatic Testing of New Pipeline"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "bsp_12std0104_pressure_testing_of_pipework",
|
||||
"fieldtype": "Check",
|
||||
"label": "BSP_12.STD.01.04 Pressure Testing of Pipework "
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "data_18",
|
||||
"fieldtype": "Check",
|
||||
"label": "DEP_63.10.08.11_Gen Field Commissioning of Electrical Installation n Equipment for global application"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_5",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_9",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "other",
|
||||
"fieldtype": "Check",
|
||||
"label": "Other"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_22",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "remarks",
|
||||
"fieldtype": "Text",
|
||||
"label": "Remarks"
|
||||
},
|
||||
{
|
||||
"fieldname": "_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": " "
|
||||
},
|
||||
{
|
||||
"fieldname": "prepared_by",
|
||||
"fieldtype": "Heading",
|
||||
"label": "PREPARED BY"
|
||||
},
|
||||
{
|
||||
"fieldname": "name1",
|
||||
"fieldtype": "Data",
|
||||
"label": "Name"
|
||||
},
|
||||
{
|
||||
"fieldname": "signature",
|
||||
"fieldtype": "Signature",
|
||||
"label": "Signature"
|
||||
},
|
||||
{
|
||||
"fieldname": "date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_29",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "verified_by",
|
||||
"fieldtype": "Heading",
|
||||
"label": "VERIFIED BY"
|
||||
},
|
||||
{
|
||||
"fieldname": "name_",
|
||||
"fieldtype": "Data",
|
||||
"label": "Name_"
|
||||
},
|
||||
{
|
||||
"fieldname": "signature_",
|
||||
"fieldtype": "Signature",
|
||||
"label": "Signature_"
|
||||
},
|
||||
{
|
||||
"fieldname": "date_",
|
||||
"fieldtype": "Date",
|
||||
"label": "Date_"
|
||||
},
|
||||
{
|
||||
"fieldname": "accepted_by",
|
||||
"fieldtype": "Heading",
|
||||
"label": "ACCEPTED BY"
|
||||
},
|
||||
{
|
||||
"fieldname": "name__",
|
||||
"fieldtype": "Data",
|
||||
"label": "Name__"
|
||||
},
|
||||
{
|
||||
"fieldname": "signature__",
|
||||
"fieldtype": "Signature",
|
||||
"label": "Signature__"
|
||||
},
|
||||
{
|
||||
"fieldname": "date__",
|
||||
"fieldtype": "Date",
|
||||
"label": "Date__"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_34",
|
||||
"fieldtype": "Column Break"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-05 19:34:13.445530",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Certificate Of Acceptance",
|
||||
"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"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CertificateOfAcceptance(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCertificateOfAcceptance(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2023, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Construction Document', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,407 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "format:Project-{campaign}-{won}",
|
||||
"creation": "2022-11-14 15:19:32.305369",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"based_on",
|
||||
"section_break_2",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"target_completion_date",
|
||||
"design_staff_holding",
|
||||
"column_break_5",
|
||||
"project_id",
|
||||
"campaign",
|
||||
"completed",
|
||||
"libeline_protection",
|
||||
"column_break_9",
|
||||
"won",
|
||||
"status",
|
||||
"mos_section_section",
|
||||
"mos",
|
||||
"column_break_13",
|
||||
"mos_description",
|
||||
"column_break_15",
|
||||
"mos_percentage_completed",
|
||||
"column_break_22",
|
||||
"mos_status",
|
||||
"mos_status_section",
|
||||
"jha_section_section",
|
||||
"jha",
|
||||
"column_break_19",
|
||||
"jha_description",
|
||||
"column_break_21",
|
||||
"jha_percentage_completed",
|
||||
"column_break_31",
|
||||
"jha_status",
|
||||
"jhaa_status",
|
||||
"cse_section_section",
|
||||
"cse",
|
||||
"column_break_25",
|
||||
"cse_description",
|
||||
"column_break_27",
|
||||
"cse_percentage_completed",
|
||||
"column_break_40",
|
||||
"cse_status",
|
||||
"cse__status",
|
||||
"lifting_plan_section_section",
|
||||
"lifting_plan",
|
||||
"column_break_44",
|
||||
"lifting_description",
|
||||
"column_break_33",
|
||||
"lifting_percentage_completed",
|
||||
"column_break_49",
|
||||
"lifting__status",
|
||||
"lifting_status",
|
||||
"construction_section_section",
|
||||
"construction_document",
|
||||
"column_break_4",
|
||||
"others_description",
|
||||
"column_break_6",
|
||||
"construction_percentage_completed",
|
||||
"column_break_58",
|
||||
"construction_status",
|
||||
"others_status"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "Project-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"default": "Today",
|
||||
"fieldname": "target_completion_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Target Completion Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "design_staff_holding",
|
||||
"fieldtype": "Data",
|
||||
"label": "Design Staff Holding"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_5",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on ==''",
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Int",
|
||||
"in_list_view": 1,
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "libeline_protection",
|
||||
"fieldtype": "Data",
|
||||
"label": "Libeline Protection"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_9",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "In Progress\nCompleted\nSent for Approval\nApproved"
|
||||
},
|
||||
{
|
||||
"fieldname": "mos_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "MOS Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "mos",
|
||||
"fieldtype": "Attach",
|
||||
"label": "MOS"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_13",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "mos_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "MOS Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_15",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "jha_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "JHA Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "jha",
|
||||
"fieldtype": "Attach",
|
||||
"label": "JHA"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_19",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "jha_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "JHA Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_21",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "cse_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "CSE Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "cse",
|
||||
"fieldtype": "Attach",
|
||||
"label": "CSE"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_25",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "cse_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "CSE Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_27",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "lifting_plan_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Lifting Plan Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "lifting_plan",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Lifting Plan"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_31",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "lifting_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "Lifting Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_33",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Others"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_document",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Others Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_4",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "Others Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "others_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Others_Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "construction_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Construction Status"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "lifting__status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Lifting Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "lifting_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Lifting Status"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "cse__status",
|
||||
"fieldtype": "Select",
|
||||
"label": "CSE_ Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "cse_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "CSE Status"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "jhaa_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "JHA Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "jha_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "JHA Status"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "mos_status_section",
|
||||
"fieldtype": "Select",
|
||||
"label": "MOS Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "mos_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "MOS Status"
|
||||
},
|
||||
{
|
||||
"fieldname": "based_on",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Based On",
|
||||
"options": "\nCampaign Readiness\nProject Readiness"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_2",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Project Readiness'",
|
||||
"fieldname": "project_id",
|
||||
"fieldtype": "Data",
|
||||
"label": "Project ID"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_22",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "mos_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "MOS Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "jha_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "JHA Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_40",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "cse_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "CSE Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_44",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_49",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "lifting_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Lifting Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_58",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "others_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Others Description"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-23 13:31:06.121465",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Construction Document",
|
||||
"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"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class ConstructionDocument(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2023, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestConstructionDocument(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/crew/__init__.py
Normal file
0
planning/planning/doctype/crew/__init__.py
Normal file
8
planning/planning/doctype/crew/crew.js
Normal file
8
planning/planning/doctype/crew/crew.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Crew', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
110
planning/planning/doctype/crew/crew.json
Normal file
110
planning/planning/doctype/crew/crew.json
Normal file
@ -0,0 +1,110 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2022-11-14 15:03:33.763566",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"naming_series",
|
||||
"crew_name",
|
||||
"area_location",
|
||||
"campaign",
|
||||
"won",
|
||||
"column_break_4",
|
||||
"crew_count",
|
||||
"planned_man_hrs",
|
||||
"actual_man_hrs",
|
||||
"supervisor",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "crew_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Crew Name",
|
||||
"unique": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "area_location",
|
||||
"fieldtype": "Data",
|
||||
"label": "Area /Location"
|
||||
},
|
||||
{
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_4",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "crew_count",
|
||||
"fieldtype": "Data",
|
||||
"label": "Crew Count"
|
||||
},
|
||||
{
|
||||
"fieldname": "planned_man_hrs",
|
||||
"fieldtype": "Time",
|
||||
"label": "Planned Man Hrs"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_man_hrs",
|
||||
"fieldtype": "Time",
|
||||
"label": "Actual Man Hrs"
|
||||
},
|
||||
{
|
||||
"fieldname": "supervisor",
|
||||
"fieldtype": "Link",
|
||||
"label": "Supervisor",
|
||||
"options": "Employee"
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Crew",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Text",
|
||||
"label": "WON"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "Crew-.####"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-14 14:51:30.561837",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Crew",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/crew/crew.py
Normal file
8
planning/planning/doctype/crew/crew.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class Crew(Document):
|
||||
pass
|
||||
8
planning/planning/doctype/crew/test_crew.py
Normal file
8
planning/planning/doctype/crew/test_crew.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCrew(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/css_document/__init__.py
Normal file
0
planning/planning/doctype/css_document/__init__.py
Normal file
8
planning/planning/doctype/css_document/css_document.js
Normal file
8
planning/planning/doctype/css_document/css_document.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('CSS Document', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
159
planning/planning/doctype/css_document/css_document.json
Normal file
159
planning/planning/doctype/css_document/css_document.json
Normal file
@ -0,0 +1,159 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "format:CSS-{campaign}-{won}",
|
||||
"creation": "2023-02-07 16:59:36.534060",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"based_on",
|
||||
"section_break_2",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"target_completion_date",
|
||||
"column_break_4",
|
||||
"project_id",
|
||||
"campaign",
|
||||
"completed",
|
||||
"column_break_7",
|
||||
"won",
|
||||
"status",
|
||||
"css_section_section",
|
||||
"css",
|
||||
"column_break_11",
|
||||
"css_percentage_completed",
|
||||
"column_break_13",
|
||||
"css_status"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "css",
|
||||
"fieldtype": "Attach",
|
||||
"label": "CSS"
|
||||
},
|
||||
{
|
||||
"default": "Today",
|
||||
"fieldname": "target_completion_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Target Completion Date"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Int",
|
||||
"in_list_view": 1,
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "In Progress\nCompleted\nSent for Approval\nApproved"
|
||||
},
|
||||
{
|
||||
"fieldname": "css_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "CSS Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "css_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "CSS Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "CSS-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Campaign"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_4",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_7",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "css_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "CSS Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_11",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_13",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "based_on",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Based On",
|
||||
"options": "\nProject Readiness\nCampaign Readiness"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_2",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Project Readiness'",
|
||||
"fieldname": "project_id",
|
||||
"fieldtype": "Data",
|
||||
"label": "Project ID"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-22 19:06:50.026725",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "CSS Document",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/css_document/css_document.py
Normal file
8
planning/planning/doctype/css_document/css_document.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CSSDocument(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCSSDocument(unittest.TestCase):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Design Workpack Document', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
@ -0,0 +1,421 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "format:Design-{campaign}-{won}",
|
||||
"creation": "2022-11-14 15:27:05.626887",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"based_on",
|
||||
"section_break_2",
|
||||
"naming_series",
|
||||
"contract",
|
||||
"target_completion_date",
|
||||
"indicator",
|
||||
"column_break_4",
|
||||
"campaign",
|
||||
"project_id",
|
||||
"completed",
|
||||
"column_break_7",
|
||||
"won",
|
||||
"status",
|
||||
"aendwe_section_section",
|
||||
"workpack_table",
|
||||
"aen",
|
||||
"workpack",
|
||||
"mgc",
|
||||
"column_break_15",
|
||||
"aen_percentage",
|
||||
"mgc_percentage",
|
||||
"column_break_18",
|
||||
"aen_status",
|
||||
"mgc_status",
|
||||
"cirass_document_section_section",
|
||||
"cirass_report",
|
||||
"column_break_11",
|
||||
"description",
|
||||
"column_break_13",
|
||||
"cirass_percentage_completed",
|
||||
"column_break_32",
|
||||
"cirass__status",
|
||||
"cirass_status",
|
||||
"site_survey_section_section",
|
||||
"site_survey",
|
||||
"column_break_17",
|
||||
"site_description",
|
||||
"column_break_19",
|
||||
"site_survey_percentage",
|
||||
"column_break_40",
|
||||
"site_status",
|
||||
"jobcard_section_section",
|
||||
"jobcard",
|
||||
"column_break_23",
|
||||
"jobcard_description",
|
||||
"column_break_25",
|
||||
"jobcard_percentage",
|
||||
"column_break_48",
|
||||
"jobcard_status",
|
||||
"mat_sap_input_section_section",
|
||||
"mat_sap_input",
|
||||
"column_break_35",
|
||||
"mat_sap_description",
|
||||
"column_break_99",
|
||||
"mat_percentage",
|
||||
"column_break_56",
|
||||
"mat_status",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "cirass_report",
|
||||
"fieldtype": "Attach",
|
||||
"label": "CIRASS Report"
|
||||
},
|
||||
{
|
||||
"fieldname": "site_survey",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Site Survey"
|
||||
},
|
||||
{
|
||||
"fieldname": "aen",
|
||||
"fieldtype": "Attach",
|
||||
"hidden": 1,
|
||||
"label": "Workpack"
|
||||
},
|
||||
{
|
||||
"fieldname": "jobcard",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Jobcard"
|
||||
},
|
||||
{
|
||||
"fieldname": "mat_sap_input",
|
||||
"fieldtype": "Attach",
|
||||
"label": "Mat SAP Input"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"columns": 1,
|
||||
"fieldname": "completed",
|
||||
"fieldtype": "Int",
|
||||
"in_list_view": 1,
|
||||
"label": "%Completed"
|
||||
},
|
||||
{
|
||||
"default": "Today",
|
||||
"fieldname": "target_completion_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Target Completion Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_4",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "cirass_percentage_completed",
|
||||
"fieldtype": "Data",
|
||||
"label": "Design Percentage Completed"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_7",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"columns": 1,
|
||||
"default": "In Progress",
|
||||
"fieldname": "status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Status",
|
||||
"options": "In Progress\nCompleted\nSent for Approval\nApproved"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "site_survey_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Site Survey Percentage"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "jobcard_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Jobcard Percentage"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "aen_percentage",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Workpack Percentage"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "mat_percentage",
|
||||
"fieldtype": "Data",
|
||||
"label": "Mat Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "site_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Site Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "jobcard_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Jobcard Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "aen_status",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Workpack Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "mat_status",
|
||||
"fieldtype": "Select",
|
||||
"label": "Mat Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"columns": 1,
|
||||
"fieldname": "contract",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Contract",
|
||||
"options": "Contract",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"columns": 1,
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == \"\"",
|
||||
"fieldname": "campaign",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"in_standard_filter": 1,
|
||||
"label": "Campaign",
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "cirass_document_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "CIRASS Document Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_11",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_13",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "site_survey_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Site Survey Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_17",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_19",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "jobcard_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Jobcard Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_23",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_25",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "aendwe_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Workpack Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "mat_sap_input_section_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Mat SAP Input Section"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_35",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_99",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.based_on == 'Campaign Readiness' || doc.based_on == ''",
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project"
|
||||
},
|
||||
{
|
||||
"fieldname": "mgc",
|
||||
"fieldtype": "Attach",
|
||||
"hidden": 1,
|
||||
"label": "MGC",
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "mgc_percentage",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "MGC Percentage"
|
||||
},
|
||||
{
|
||||
"fieldname": "mgc_status",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "MGC Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"default": "In Progress",
|
||||
"fieldname": "cirass__status",
|
||||
"fieldtype": "Select",
|
||||
"label": "CIRASS Status",
|
||||
"options": "In Progress\nCompleted\nNot Applicable"
|
||||
},
|
||||
{
|
||||
"fieldname": "cirass_status",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "CIRASS Status"
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "Design Workpack Document",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "indicator",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"label": "Indicator"
|
||||
},
|
||||
{
|
||||
"fieldname": "workpack_table",
|
||||
"fieldtype": "Table",
|
||||
"hidden": 1,
|
||||
"label": "Workpack Table",
|
||||
"options": "Workpack Table"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_15",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_18",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "workpack",
|
||||
"fieldtype": "Link",
|
||||
"label": "Workpack",
|
||||
"options": "Drawing Document"
|
||||
},
|
||||
{
|
||||
"fieldname": "based_on",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Based On",
|
||||
"options": "\nProject Readiness\nCampaign Readiness"
|
||||
},
|
||||
{
|
||||
"fieldname": "section_break_2",
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"depends_on": "eval: doc.based_on =='Project Readiness'",
|
||||
"fieldname": "project_id",
|
||||
"fieldtype": "Data",
|
||||
"in_standard_filter": 1,
|
||||
"label": "Project ID"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_32",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_40",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "site_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Site Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_48",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "jobcard_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Jobcard Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_56",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "mat_sap_description",
|
||||
"fieldtype": "Text",
|
||||
"label": "Mat SAP Description"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2023-02-23 13:14:52.922799",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "Design Workpack Document",
|
||||
"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",
|
||||
"translated_doctype": 1
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class DesignWorkpackDocument(Document):
|
||||
pass
|
||||
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestDesignWorkpackDocument(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/dpr/__init__.py
Normal file
0
planning/planning/doctype/dpr/__init__.py
Normal file
8
planning/planning/doctype/dpr/dpr.js
Normal file
8
planning/planning/doctype/dpr/dpr.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('DPR', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
158
planning/planning/doctype/dpr/dpr.json
Normal file
158
planning/planning/doctype/dpr/dpr.json
Normal file
@ -0,0 +1,158 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
"creation": "2022-11-14 15:10:58.449244",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"naming_series",
|
||||
"report_name",
|
||||
"maintenance_heading",
|
||||
"won",
|
||||
"description",
|
||||
"variance",
|
||||
"performance",
|
||||
"column_break_5",
|
||||
"earned",
|
||||
"planned",
|
||||
"forecast_cum_planned",
|
||||
"forecast_cum_earned",
|
||||
"no_activity_comments",
|
||||
"variance_",
|
||||
"plan_start",
|
||||
"plan_finish",
|
||||
"actual_start",
|
||||
"actual_finish",
|
||||
"amended_from"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "won",
|
||||
"fieldtype": "Link",
|
||||
"label": "WON",
|
||||
"options": "Project",
|
||||
"unique": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Text Editor",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"fieldname": "planned",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cumm Planned%"
|
||||
},
|
||||
{
|
||||
"fieldname": "earned",
|
||||
"fieldtype": "Data",
|
||||
"label": "Cumm Earned%"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_5",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_start",
|
||||
"fieldtype": "Date",
|
||||
"label": "Plan Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "plan_finish",
|
||||
"fieldtype": "Date",
|
||||
"label": "Plan Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_start",
|
||||
"fieldtype": "Date",
|
||||
"label": "Actual Start"
|
||||
},
|
||||
{
|
||||
"fieldname": "actual_finish",
|
||||
"fieldtype": "Date",
|
||||
"label": "Actual Finish"
|
||||
},
|
||||
{
|
||||
"fieldname": "variance",
|
||||
"fieldtype": "Data",
|
||||
"label": "Variance"
|
||||
},
|
||||
{
|
||||
"fieldname": "forecast_cum_planned",
|
||||
"fieldtype": "Data",
|
||||
"label": "Forecast Cum Planned%"
|
||||
},
|
||||
{
|
||||
"fieldname": "forecast_cum_earned",
|
||||
"fieldtype": "Data",
|
||||
"label": "Forecast Cum Earned%"
|
||||
},
|
||||
{
|
||||
"fieldname": "variance_",
|
||||
"fieldtype": "Data",
|
||||
"label": "Variance_"
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"hidden": 1,
|
||||
"label": "Naming Series",
|
||||
"options": "DPR-.####"
|
||||
},
|
||||
{
|
||||
"fieldname": "amended_from",
|
||||
"fieldtype": "Link",
|
||||
"label": "Amended From",
|
||||
"no_copy": 1,
|
||||
"options": "DPR",
|
||||
"print_hide": 1,
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "report_name",
|
||||
"fieldtype": "Data",
|
||||
"label": "Report Name"
|
||||
},
|
||||
{
|
||||
"fieldname": "maintenance_heading",
|
||||
"fieldtype": "Data",
|
||||
"label": "Maintenance Heading"
|
||||
},
|
||||
{
|
||||
"fieldname": "no_activity_comments",
|
||||
"fieldtype": "Text",
|
||||
"label": "No Activity Comments"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"fieldname": "performance",
|
||||
"fieldtype": "Check",
|
||||
"label": "Performance"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2022-12-13 20:09:50.375450",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "DPR",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/dpr/dpr.py
Normal file
8
planning/planning/doctype/dpr/dpr.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class DPR(Document):
|
||||
pass
|
||||
8
planning/planning/doctype/dpr/test_dpr.py
Normal file
8
planning/planning/doctype/dpr/test_dpr.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestDPR(unittest.TestCase):
|
||||
pass
|
||||
0
planning/planning/doctype/dpr_report/__init__.py
Normal file
0
planning/planning/doctype/dpr_report/__init__.py
Normal file
8
planning/planning/doctype/dpr_report/dpr_report.js
Normal file
8
planning/planning/doctype/dpr_report/dpr_report.js
Normal file
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2022, Seyfert and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('DPR Report', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
});
|
||||
94
planning/planning/doctype/dpr_report/dpr_report.json
Normal file
94
planning/planning/doctype/dpr_report/dpr_report.json
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2022-11-14 15:36:58.571766",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"contract_no",
|
||||
"contract_title",
|
||||
"report_no",
|
||||
"report_as_of",
|
||||
"issue_date",
|
||||
"column_break_6",
|
||||
"prepared_by",
|
||||
"checked_by",
|
||||
"reviewed_by",
|
||||
"accepted_by"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "contract_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Contract No"
|
||||
},
|
||||
{
|
||||
"fieldname": "contract_title",
|
||||
"fieldtype": "Data",
|
||||
"label": "Contract Title"
|
||||
},
|
||||
{
|
||||
"fieldname": "report_no",
|
||||
"fieldtype": "Data",
|
||||
"label": "Report No"
|
||||
},
|
||||
{
|
||||
"fieldname": "report_as_of",
|
||||
"fieldtype": "Date",
|
||||
"label": "Report as of"
|
||||
},
|
||||
{
|
||||
"fieldname": "issue_date",
|
||||
"fieldtype": "Date",
|
||||
"label": "Issue Date"
|
||||
},
|
||||
{
|
||||
"fieldname": "column_break_6",
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "prepared_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Prepared By"
|
||||
},
|
||||
{
|
||||
"fieldname": "checked_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Checked By"
|
||||
},
|
||||
{
|
||||
"fieldname": "reviewed_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Reviewed By"
|
||||
},
|
||||
{
|
||||
"fieldname": "accepted_by",
|
||||
"fieldtype": "Data",
|
||||
"label": "Accepted By"
|
||||
}
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2022-11-14 15:36:58.571766",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Planning",
|
||||
"name": "DPR Report",
|
||||
"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"
|
||||
}
|
||||
8
planning/planning/doctype/dpr_report/dpr_report.py
Normal file
8
planning/planning/doctype/dpr_report/dpr_report.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class DPRReport(Document):
|
||||
pass
|
||||
8
planning/planning/doctype/dpr_report/test_dpr_report.py
Normal file
8
planning/planning/doctype/dpr_report/test_dpr_report.py
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2022, Seyfert and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestDPRReport(unittest.TestCase):
|
||||
pass
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user