update fixtures
This commit is contained in:
parent
d3f6cb4675
commit
237341ccf8
153
custom_ui/fixtures/bid_meeting_note_form.json
Normal file
153
custom_ui/fixtures/bid_meeting_note_form.json
Normal file
@ -0,0 +1,153 @@
|
||||
[
|
||||
{
|
||||
"company": "Sprinklers Northwest",
|
||||
"docstatus": 0,
|
||||
"doctype": "Bid Meeting Note Form",
|
||||
"fields": [
|
||||
{
|
||||
"column": 1,
|
||||
"conditional_on_field": null,
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": "Indicate if a locate is needed for this project.",
|
||||
"include_options": 0,
|
||||
"label": "Locate Needed",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 1,
|
||||
"type": "Check"
|
||||
},
|
||||
{
|
||||
"column": 2,
|
||||
"conditional_on_field": null,
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": "Indicate if a permit is needed for this project.",
|
||||
"include_options": 0,
|
||||
"label": "Permit Needed",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 1,
|
||||
"type": "Check"
|
||||
},
|
||||
{
|
||||
"column": 3,
|
||||
"conditional_on_field": null,
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": "Indicate if a backflow test is required after installation.",
|
||||
"include_options": 0,
|
||||
"label": "Back Flow Test Required",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 1,
|
||||
"type": "Check"
|
||||
},
|
||||
{
|
||||
"column": 1,
|
||||
"conditional_on_field": null,
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": null,
|
||||
"include_options": 0,
|
||||
"label": "Machine Access",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 2,
|
||||
"type": "Check"
|
||||
},
|
||||
{
|
||||
"column": 2,
|
||||
"conditional_on_field": "Machine Access",
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": null,
|
||||
"include_options": 1,
|
||||
"label": "Machines",
|
||||
"options": "MT, Skip Steer, Excavator-E-50, Link Belt, Tre?, Forks, Auger, Backhoe, Loader, Duzer",
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 2,
|
||||
"type": "Multi-Select"
|
||||
},
|
||||
{
|
||||
"column": 0,
|
||||
"conditional_on_field": null,
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": null,
|
||||
"doctype_label_field": null,
|
||||
"help_text": null,
|
||||
"include_options": 0,
|
||||
"label": "Materials Required",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 3,
|
||||
"type": "Check"
|
||||
},
|
||||
{
|
||||
"column": 0,
|
||||
"conditional_on_field": "Materials Required",
|
||||
"conditional_on_value": null,
|
||||
"default_value": null,
|
||||
"doctype_for_select": "Item",
|
||||
"doctype_label_field": "itemName",
|
||||
"help_text": null,
|
||||
"include_options": 0,
|
||||
"label": "Materials",
|
||||
"options": null,
|
||||
"order": 0,
|
||||
"parent": "SNW Install Bid Meeting Notes",
|
||||
"parentfield": "fields",
|
||||
"parenttype": "Bid Meeting Note Form",
|
||||
"read_only": 0,
|
||||
"required": 0,
|
||||
"row": 4,
|
||||
"type": "Multi-Select w/ Quantity"
|
||||
}
|
||||
],
|
||||
"modified": "2026-02-18 05:52:37.304228",
|
||||
"name": "SNW Install Bid Meeting Notes",
|
||||
"notes": null,
|
||||
"title": "SNW Install Bid Meeting Notes"
|
||||
}
|
||||
]
|
||||
244795
custom_ui/fixtures/item.json
Normal file
244795
custom_ui/fixtures/item.json
Normal file
File diff suppressed because it is too large
Load Diff
72
custom_ui/fixtures/project_template.json
Normal file
72
custom_ui/fixtures/project_template.json
Normal file
@ -0,0 +1,72 @@
|
||||
[
|
||||
{
|
||||
"bid_meeting_note_form": "SNW Install Bid Meeting Notes",
|
||||
"calendar_color": "#c1dec5",
|
||||
"company": "Sprinklers Northwest",
|
||||
"custom__complete_method": "Task Weight",
|
||||
"docstatus": 0,
|
||||
"doctype": "Project Template",
|
||||
"item_groups": "SNW-I, SNW-S, SNW-LS",
|
||||
"modified": "2026-02-16 03:59:53.719382",
|
||||
"name": "SNW Install",
|
||||
"project_type": "External",
|
||||
"tasks": [
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Send customer 3-5 day window for start date",
|
||||
"task": "TASK-2025-00001"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "811/Locate call in",
|
||||
"task": "TASK-2025-00002"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Permit(s) call in and pay",
|
||||
"task": "TASK-2025-00003"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Primary Job",
|
||||
"task": "TASK-2025-00004"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Hydroseeding",
|
||||
"task": "TASK-2025-00005"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Curbing",
|
||||
"task": "TASK-2025-00006"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "15-Day QA",
|
||||
"task": "TASK-2025-00007"
|
||||
},
|
||||
{
|
||||
"parent": "SNW Install",
|
||||
"parentfield": "tasks",
|
||||
"parenttype": "Project Template",
|
||||
"subject": "Permit Close-out",
|
||||
"task": "TASK-2025-00008"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
362
custom_ui/fixtures/task.json
Normal file
362
custom_ui/fixtures/task.json
Normal file
@ -0,0 +1,362 @@
|
||||
[
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2025-05-08 12:46:33.245387",
|
||||
"name": "TASK-2025-00008",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Permit Close-out",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Admin"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": "Utility locate request prior to installation start.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2026-02-12 12:31:42.805351",
|
||||
"name": "TASK-2025-00002",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "811/Locate call in",
|
||||
"task_weight": 7.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "811/Locate"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2025-04-24 14:57:10.789639",
|
||||
"name": "TASK-2025-00003",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Permit(s) call in and pay",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Admin"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2025-05-10 05:06:35.232465",
|
||||
"name": "TASK-2025-00005",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Hydroseeding",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Labor"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2025-05-10 05:06:44.365741",
|
||||
"name": "TASK-2025-00006",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Curbing",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Labor"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2025-05-08 13:04:15.934399",
|
||||
"name": "TASK-2025-00001",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Send customer 3-5 day window for start date",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Admin"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": "HR-EMP-00014",
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2026-01-23 02:29:45.172285",
|
||||
"name": "TASK-2025-00007",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "15-Day QA",
|
||||
"task_weight": 0.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "15 Day Warranty Follow-Up"
|
||||
},
|
||||
{
|
||||
"act_end_date": null,
|
||||
"act_start_date": null,
|
||||
"actual_time": 0.0,
|
||||
"closing_date": null,
|
||||
"color": null,
|
||||
"company": "Sprinklers Northwest",
|
||||
"completed_by": null,
|
||||
"completed_on": null,
|
||||
"custom_foreman": null,
|
||||
"custom_property": null,
|
||||
"customer": null,
|
||||
"department": null,
|
||||
"depends_on": [],
|
||||
"depends_on_tasks": "",
|
||||
"description": "Task tracking for the main service job.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task",
|
||||
"duration": 0,
|
||||
"exp_end_date": null,
|
||||
"exp_start_date": null,
|
||||
"expected_time": 0.0,
|
||||
"is_group": 0,
|
||||
"is_milestone": 0,
|
||||
"is_template": 1,
|
||||
"issue": null,
|
||||
"modified": "2026-02-12 12:32:42.996899",
|
||||
"name": "TASK-2025-00004",
|
||||
"old_parent": "",
|
||||
"parent_task": null,
|
||||
"priority": "Low",
|
||||
"progress": 0.0,
|
||||
"project": null,
|
||||
"project_template": null,
|
||||
"review_date": null,
|
||||
"start": 0,
|
||||
"status": "Template",
|
||||
"subject": "Primary Job",
|
||||
"task_weight": 25.0,
|
||||
"template_task": null,
|
||||
"total_billing_amount": 0.0,
|
||||
"total_costing_amount": 0.0,
|
||||
"total_expense_claim": 0.0,
|
||||
"type": "Main Job"
|
||||
}
|
||||
]
|
||||
527
custom_ui/fixtures/task_type.json
Normal file
527
custom_ui/fixtures/task_type.json
Normal file
@ -0,0 +1,527 @@
|
||||
[
|
||||
{
|
||||
"base_date": "Start",
|
||||
"calculate_from": "Project",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Collect half down payment on project creation.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 12:59:50.869932",
|
||||
"name": "1/2 Down Payment",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 0,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "1/2 Down Payment",
|
||||
"trigger": "Created",
|
||||
"triggering_doctype": "Project",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Start",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Stage machinery one day before installation start.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:00:47.389623",
|
||||
"name": "Machine Staging",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 1,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Machine Staging",
|
||||
"trigger": "Scheduled",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Send final invoice within 5 days of job completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:01:14.573788",
|
||||
"name": "Final Invoice",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 5,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Final Invoice",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Backflow test after job completion if quoted.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:01:34.781732",
|
||||
"name": "Backflow Test",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 0,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Backflow Test",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Schedule permit inspection 5 days after completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:01:44.550215",
|
||||
"name": "Schedule Permit Inspection",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 5,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Schedule Permit Inspection",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "30-day warranty check after completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:02:08.165742",
|
||||
"name": "30 Day Warranty Check",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 30,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "30 Day Warranty Check",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Payment reminder sent 30 days after completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:02:21.758218",
|
||||
"name": "30 Day Payment Reminder",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 30,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "30 Day Payment Reminder",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Late payment notification at 60 days post completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:02:33.693892",
|
||||
"name": "60 Day Late Payment Notice",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 60,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "60 Day Late Payment Notice",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Lien notice if payment is still late after 80 days.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:02:42.742371",
|
||||
"name": "80 Day Lien Notice",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 80,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "80 Day Lien Notice",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "One-year warranty call or walk-through.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:02:51.999530",
|
||||
"name": "365 Day Warranty Call / Walk",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 365,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "365 Day Warranty Call / Walk",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Start",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Locate utilities for digging",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:00:26.110307",
|
||||
"name": "Locate",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Locate",
|
||||
"trigger": "Scheduled",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Start",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Utility locate request prior to installation start.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-02-08 01:46:40.122526",
|
||||
"name": "811/Locate",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "811/Locate",
|
||||
"trigger": "Scheduled",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 7.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2024-12-20 16:48:23.131743",
|
||||
"name": "Topshot",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Completion",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "15-day warranty follow-up after completion.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-01-26 13:01:56.949793",
|
||||
"name": "15 Day Warranty Follow-Up",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 15,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "15 Day Warranty Follow-Up",
|
||||
"trigger": "Completed",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2024-12-17 14:18:26.429960",
|
||||
"name": "Subcontractor",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "End",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": "Completed",
|
||||
"custom_completion_trigger_doctype": "Service Address 2",
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Task tracking for the main service job.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-02-08 02:35:42.343305",
|
||||
"name": "Main Job",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 0,
|
||||
"offset_direction": "After",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Main Job",
|
||||
"trigger": "Scheduled",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 25.0,
|
||||
"work_type": "Labor"
|
||||
},
|
||||
{
|
||||
"base_date": "Start",
|
||||
"calculate_from": "Service Address 2",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": "Permits required prior to installation start.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2026-02-08 01:48:15.012387",
|
||||
"name": "Permit",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 0,
|
||||
"task_type_calculate_from": null,
|
||||
"title": "Permit",
|
||||
"trigger": "Scheduled",
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 7.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2025-05-10 03:44:23.619864",
|
||||
"name": "QA",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2025-04-24 14:56:51.838933",
|
||||
"name": "Admin",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2024-04-16 11:55:50.883266",
|
||||
"name": "Scheduling",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
},
|
||||
{
|
||||
"base_date": "Project Start",
|
||||
"calculate_from": "Service Appointment",
|
||||
"custom_completion_trigger": null,
|
||||
"custom_completion_trigger_doctype": null,
|
||||
"custom_target_percent": 0,
|
||||
"days": 0,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"doctype": "Task Type",
|
||||
"logic_key": null,
|
||||
"modified": "2024-04-19 12:51:25.954969",
|
||||
"name": "Labor",
|
||||
"no_due_date": 0,
|
||||
"offset_days": 7,
|
||||
"offset_direction": "Before",
|
||||
"skip_holidays": 1,
|
||||
"skip_weekends": 1,
|
||||
"task_type_calculate_from": null,
|
||||
"title": null,
|
||||
"trigger": null,
|
||||
"triggering_doctype": "Service Address 2",
|
||||
"weight": 0.0,
|
||||
"work_type": "Admin"
|
||||
}
|
||||
]
|
||||
@ -243,15 +243,15 @@ fixtures = [
|
||||
# ["name", "!=", "Locate Log"], # <-- skip the deleted/removed doctype
|
||||
# ]
|
||||
# },
|
||||
# { "dt": "Task Type" },
|
||||
# {
|
||||
# "dt": "Task",
|
||||
# "filters": [
|
||||
# ["is_template", "=", 1]
|
||||
# ]
|
||||
# },
|
||||
# { "dt": "Project Template" },
|
||||
# { "dt": "Bid Meeting Note Form" },
|
||||
{ "dt": "Task Type" },
|
||||
{
|
||||
"dt": "Task",
|
||||
"filters": [
|
||||
["is_template", "=", 1]
|
||||
]
|
||||
},
|
||||
{ "dt": "Project Template" },
|
||||
{ "dt": "Bid Meeting Note Form" },
|
||||
# { "dt": "Holiday List" },
|
||||
|
||||
# These don't have reliable flags → export all
|
||||
@ -260,7 +260,7 @@ fixtures = [
|
||||
"filters": [["name", "not in", ["Service Appointment-service_address", "Service Appointment-customer", "Service Appointment-project", "Service Appointment-project_template", "Service Appointment"]],]},
|
||||
{"dt": "Client Script"},
|
||||
{"dt": "Server Script"},
|
||||
# {"dt": "Item"}
|
||||
{"dt": "Item"}
|
||||
]
|
||||
|
||||
|
||||
|
||||
@ -46,12 +46,12 @@ def after_migrate():
|
||||
frappe.reload_doctype(doctype)
|
||||
|
||||
# check_and_create_holiday_list()
|
||||
# create_project_templates()
|
||||
# create_task_types()
|
||||
# create_tasks()
|
||||
# create_bid_meeting_note_form_templates()
|
||||
# create_accounts()
|
||||
# create_companies()
|
||||
create_project_templates()
|
||||
create_companies()
|
||||
# init_stripe_accounts()
|
||||
|
||||
# update_address_fields()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user