Added missing Project Template fixtures.
This commit is contained in:
parent
6de4bcc053
commit
b7208f863f
2 changed files with 58 additions and 0 deletions
55
custom_ui/fixtures/project_template.json
Normal file
55
custom_ui/fixtures/project_template.json
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"calendar_color": null,
|
||||||
|
"company": "Sprinklers Northwest",
|
||||||
|
"docstatus": 0,
|
||||||
|
"doctype": "Project Template",
|
||||||
|
"modified": "2026-01-27 09:16:15.614554",
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
@ -214,6 +214,9 @@ fixtures = [
|
||||||
["name", "in", ["Customer Invoice"]]
|
["name", "in", ["Customer Invoice"]]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"dt": "Project Template"
|
||||||
|
},
|
||||||
# These don't have reliable flags → export all
|
# These don't have reliable flags → export all
|
||||||
{
|
{
|
||||||
"dt": "Custom Field",
|
"dt": "Custom Field",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue