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

14.0 #4

Open
wants to merge 3 commits into
base: 13.0
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion freight_management.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ freight_management/config/__init__.py
freight_management/config/desktop.py
freight_management/config/docs.py
freight_management/fixtures/workflow.json
freight_management/fixtures/workflow_state.json
freight_management/freight_management/__init__.py
freight_management/freight_management/doctype/__init__.py
freight_management/freight_management/doctype/airlines/__init__.py
Expand Down Expand Up @@ -68,4 +69,5 @@ freight_management/freight_management/doctype/vessels/vessels.json
freight_management/freight_management/doctype/vessels/vessels.py
freight_management/freight_management/workspace/freight_management/freight_management.json
freight_management/templates/__init__.py
freight_management/templates/pages/__init__.py
freight_management/templates/pages/__init__.py
freight_management/www/__init__.py
142 changes: 0 additions & 142 deletions freight_management/fixtures/workflow.json
Original file line number Diff line number Diff line change
@@ -1,143 +1,4 @@
[
{
"docstatus": 0,
"doctype": "Workflow",
"document_type": "Custom Clearance",
"is_active": 1,
"modified": "2022-06-30 15:07:49.096585",
"name": "Revision",
"override_status": 0,
"parent": null,
"parentfield": null,
"parenttype": null,
"send_email_alert": 1,
"states": [
{
"allow_edit": "System Manager",
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Revision",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Draft",
"update_field": "",
"update_value": null
},
{
"allow_edit": "System Manager",
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Revision",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Approved",
"update_field": "",
"update_value": null
},
{
"allow_edit": "System Manager",
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Revision",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Revision",
"update_field": "revision_reason",
"update_value": null
},
{
"allow_edit": "System Manager",
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Revision",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Done",
"update_field": null,
"update_value": null
},
{
"allow_edit": "System Manager",
"doc_status": "0",
"is_optional_state": 0,
"message": null,
"next_action_email_template": null,
"parent": "Revision",
"parentfield": "states",
"parenttype": "Workflow",
"state": "Rejected",
"update_field": "",
"update_value": null
}
],
"transitions": [
{
"action": "Approve",
"allow_self_approval": 1,
"allowed": "System Manager",
"condition": null,
"next_state": "Approved",
"parent": "Revision",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft"
},
{
"action": "Revision",
"allow_self_approval": 1,
"allowed": "System Manager",
"condition": null,
"next_state": "Revision",
"parent": "Revision",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Approved"
},
{
"action": "Done",
"allow_self_approval": 1,
"allowed": "System Manager",
"condition": null,
"next_state": "Done",
"parent": "Revision",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Approved"
},
{
"action": "Approve",
"allow_self_approval": 1,
"allowed": "System Manager",
"condition": null,
"next_state": "Approved",
"parent": "Revision",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Revision"
},
{
"action": "Reject",
"allow_self_approval": 1,
"allowed": "System Manager",
"condition": null,
"next_state": "Rejected",
"parent": "Revision",
"parentfield": "transitions",
"parenttype": "Workflow",
"state": "Draft"
}
],
"workflow_name": "Revision",
"workflow_state_field": "workflow_state"
},
{
"docstatus": 0,
"doctype": "Workflow",
Expand All @@ -146,9 +7,6 @@
"modified": "2022-06-29 17:08:54.836580",
"name": "Direct Shipping Workflow",
"override_status": 0,
"parent": null,
"parentfield": null,
"parenttype": null,
"send_email_alert": 1,
"states": [
{
Expand Down
156 changes: 156 additions & 0 deletions freight_management/fixtures/workflow_action_master.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
[
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-08-29 17:11:27.242089",
"name": "Approve",
"workflow_action_name": "Approve"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-08-29 17:11:27.243749",
"name": "Reject",
"workflow_action_name": "Reject"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-08-29 17:11:27.245352",
"name": "Review",
"workflow_action_name": "Review"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-09-12 16:40:41.390175",
"name": "Visa Used",
"workflow_action_name": "Visa Used"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-09-12 16:41:18.464865",
"name": "Expired",
"workflow_action_name": "Expired"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-09-12 16:41:37.116180",
"name": "Expire",
"workflow_action_name": "Expire"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-09-12 16:51:15.306976",
"name": "Visa Use",
"workflow_action_name": "Visa Use"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-09-12 16:52:52.747018",
"name": "Return",
"workflow_action_name": "Return"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-11 17:33:01.628476",
"name": "Visa",
"workflow_action_name": "Visa"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-12 11:25:04.612975",
"name": "Approve for Visa",
"workflow_action_name": "Approve for Visa"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-12 11:29:46.207723",
"name": "Visa Process",
"workflow_action_name": "Visa Process"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-12 15:13:50.605288",
"name": "Apply for immigration",
"workflow_action_name": "Apply for immigration"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-13 10:17:45.857034",
"name": "Offer Letter",
"workflow_action_name": "Offer Letter"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-31 17:17:46.927355",
"name": "Register",
"workflow_action_name": "Register"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-31 17:18:16.330938",
"name": "Downgrade",
"workflow_action_name": "Downgrade"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-31 17:18:45.588805",
"name": "Reserve",
"workflow_action_name": "Reserve"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-10-31 17:19:26.707603",
"name": "Pending",
"workflow_action_name": "Pending"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-11-01 17:45:20.834835",
"name": "Set to Done",
"workflow_action_name": "Set to Done"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-11-01 17:47:00.745139",
"name": "Cancel",
"workflow_action_name": "Cancel"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-11-01 17:53:45.826744",
"name": "Reset to Draft",
"workflow_action_name": "Reset to Draft"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-11-07 15:14:23.707491",
"name": "Start Contract",
"workflow_action_name": "Start Contract"
},
{
"docstatus": 0,
"doctype": "Workflow Action Master",
"modified": "2022-11-07 15:14:51.270039",
"name": "Close",
"workflow_action_name": "Close"
}
]
Loading