Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: Created workflow for Hallmark Request DocType #423

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions aumms/fixtures/workflow.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,132 @@
[
{
"docstatus": 0,
"doctype": "Workflow",
"document_type": "Hallmark Request",
"is_active": 1,
"modified": "2024-08-27 10:37:01.999115",
"name": "Hallmark Request Workflow",
"override_status": 0,
"send_email_alert": 0,
"states": [
{
"allow_edit": "All",
"avoid_status_override": 0,
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Hallmark Request Workflow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Draft",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
},
{
"allow_edit": "All",
"avoid_status_override": 0,
"doc_status": "1",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Hallmark Request Workflow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Submitted",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
},
{
"allow_edit": "All",
"avoid_status_override": 0,
"doc_status": "1",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Hallmark Request Workflow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Sent for Hallmarking",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
},
{
"allow_edit": "All",
"avoid_status_override": 0,
"doc_status": "1",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Hallmark Request Workflow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Send for Hallmarking",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
},
{
"allow_edit": "All",
"avoid_status_override": 0,
"doc_status": "1",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Hallmark Request Workflow",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Items Hallmarked",
"update_field": null,
"update_value": null,
"workflow_builder_id": null
}
],
"transitions": [
{
"action": "Submit",
"allow_self_approval": 1,
"allowed": "All",
"condition": null,
"next_state": "Submitted",
"parent": "Hallmark Request Workflow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft",
"workflow_builder_id": null
},
{
"action": "Send for Hallmarking",
"allow_self_approval": 1,
"allowed": "All",
"condition": null,
"next_state": "Sent for Hallmarking",
"parent": "Hallmark Request Workflow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Submitted",
"workflow_builder_id": null
},
{
"action": "Hallmark Items Return",
"allow_self_approval": 1,
"allowed": "All",
"condition": null,
"next_state": "Items Hallmarked",
"parent": "Hallmark Request Workflow",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Sent for Hallmarking",
"workflow_builder_id": null
}
],
"workflow_data": null,
"workflow_name": "Hallmark Request Workflow",
"workflow_state_field": "workflow_state"
},
{
"docstatus": 0,
"doctype": "Workflow",
Expand Down
2 changes: 1 addition & 1 deletion aumms/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
},
{
"dt":"Workflow",
"filters":[["name","in",["Feasibility check", "Touch Validation Workflow", "Purchase Receipt Workflow"]]]
"filters":[["name","in",["Feasibility check", "Touch Validation Workflow", "Purchase Receipt Workflow","Hallmark Request Workflow"]]]
},
{
"dt":"Workflow Action Master",
Expand Down
Loading