-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommerce_rma.workflows.yml
83 lines (82 loc) · 1.74 KB
/
commerce_rma.workflows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
commerce_return_default:
id: commerce_return_default
group: commerce_return
label: 'Default'
states:
draft:
label: Draft
approved:
label: Approved
received:
label: Received
rejected:
label: Rejected
completed:
label: Completed
canceled:
label: Canceled
transitions:
approve:
label: 'Approve Return'
from: [draft]
to: approved
reject:
label: 'Reject Return'
from: [draft, received, approved]
to: rejected
receive:
label: 'Receive Return'
from: [approved]
to: received
complete:
label: 'Complete Return'
from: [received]
to: completed
cancel:
label: 'Cancel Return'
from: [draft, approved]
to: canceled
commerce_order_return_default:
id: commerce_order_return_default
group: commerce_order_return
label: 'Default'
states:
draft:
label: Return not needed
requested:
label: Return requested
partial_returned:
label: Partially returned
rejected:
label: Rejected
returned:
label: Returned
completed:
label: Completed
canceled:
label: Canceled
transitions:
place:
label: 'Request Return'
from: [draft, partial_returned]
to: requested
return:
label: 'Approve Return'
from: [requested]
to: returned
partial_return:
label: 'Approve Partial Return'
from: [requested]
to: partial_returned
reject:
label: 'Reject Return'
from: [requested]
to: rejected
complete:
label: 'Complete Return'
from: [returned, partial_returned]
to: completed
cancel:
label: 'Cancel Return'
from: [requested]
to: canceled