5
<!-- Process process -->
7
<record id="stock.process_process_incoming0" model="process.process">
8
<field eval=""""Incoming"""" name="name"/>
9
<field name="model_id" ref="stock.model_stock_picking"/>
10
<field eval="1" name="active"/>
15
<record id="stock.process_node_in_draft" model="process.node">
16
<field name="menu_id" ref="stock.menu_action_picking_tree4"/>
17
<field name="model_id" ref="stock.model_stock_picking"/>
18
<field eval=""""state"""" name="kind"/>
19
<field eval=""""In - draft"""" name="name"/>
20
<field eval=""""Draft state of incoming product."""" name="note"/>
21
<field name="process_id" ref="stock.process_process_incoming0"/>
22
<field eval=""""object.state in ('draft', 'auto', 'confirmed', 'assigned', 'done')"""" name="model_states"/>
23
<field eval="1" name="flow_start"/>
26
<record id="stock.process_node_in_confirmed" model="process.node">
27
<field name="menu_id" ref="stock.menu_action_picking_tree4"/>
28
<field name="model_id" ref="stock.model_stock_picking"/>
29
<field eval=""""state"""" name="kind"/>
30
<field eval=""""In - not available"""" name="name"/>
31
<field eval=""""Not available state of incoming product."""" name="note"/>
32
<field name="process_id" ref="stock.process_process_incoming0"/>
33
<field eval=""""object.state in ('auto', 'confirmed', 'assigned', 'done')"""" name="model_states"/>
34
<field eval="0" name="flow_start"/>
37
<record id="stock.process_node_in_assigned" model="process.node">
38
<field name="menu_id" ref="stock.menu_action_picking_tree4"/>
39
<field name="model_id" ref="stock.model_stock_picking"/>
40
<field eval=""""state"""" name="kind"/>
41
<field eval=""""In - available"""" name="name"/>
42
<field eval=""""Available state of incoming product."""" name="note"/>
43
<field name="process_id" ref="stock.process_process_incoming0"/>
44
<field eval=""""object.state in ('assigned', 'done')"""" name="model_states"/>
45
<field eval="0" name="flow_start"/>
48
<record id="stock.process_node_in_done" model="process.node">
49
<field name="menu_id" ref="stock.menu_action_picking_tree4"/>
50
<field name="model_id" ref="stock.model_stock_picking"/>
51
<field eval=""""state"""" name="kind"/>
52
<field eval=""""In - closed"""" name="name"/>
53
<field eval=""""Closed state of incoming product."""" name="note"/>
54
<field name="process_id" ref="stock.process_process_incoming0"/>
55
<field eval=""""object.state == 'done'"""" name="model_states"/>
56
<field eval="0" name="flow_start"/>
59
<record id="stock.process_node_in_backorder" model="process.node">
60
<field name="menu_id" ref="stock.menu_action_picking_tree4"/>
61
<!-- <field name="model_id" ref="stock.model_stock_picking"/> -->
62
<field eval=""""subflow"""" name="kind"/>
63
<field eval=""""Backorder"""" name="name"/>
64
<field eval=""""Backorder of incoming products subflow."""" name="note"/>
65
<field name="process_id" ref="stock.process_process_incoming0"/>
66
<field name="subflow_id" ref="stock.process_process_incoming0"/>
67
<!-- <field eval=""""object.state in ('assigned', 'confirmed')"""" name="model_states"/> -->
68
<field eval="0" name="flow_start"/>
71
<!-- Transition Node -->
73
<record id="stock.process_transition_in_draft_confirmed" model="process.transition">
74
<field eval="[(6,0,[])]" name="transition_ids"/>
75
<field eval=""""From draft to confirmed."""" name="name"/>
76
<field eval=""""From draft to confirmed."""" name="note"/>
77
<field model="process.node" name="source_node_id" ref="stock.process_node_in_draft"/>
78
<field model="process.node" name="target_node_id" ref="stock.process_node_in_confirmed"/>
81
<record id="stock.process_transition_in_confirmed_assigned" model="process.transition">
82
<field eval="[(6,0,[])]" name="transition_ids"/>
83
<field eval=""""From confirmed to assigned."""" name="name"/>
84
<field eval=""""From confirmed to assigned."""" name="note"/>
85
<field model="process.node" name="source_node_id" ref="stock.process_node_in_confirmed"/>
86
<field model="process.node" name="target_node_id" ref="stock.process_node_in_assigned"/>
89
<record id="stock.process_transition_in_assigned_done" model="process.transition">
90
<field eval="[(6,0,[])]" name="transition_ids"/>
91
<field eval=""""From assigned to closed."""" name="name"/>
92
<field eval=""""From assigned to closed."""" name="note"/>
93
<field model="process.node" name="source_node_id" ref="stock.process_node_in_assigned"/>
94
<field model="process.node" name="target_node_id" ref="stock.process_node_in_done"/>
97
<record id="stock.process_transition_in_assigned_backorder" model="process.transition">
98
<field eval="[(6,0,[])]" name="transition_ids"/>
99
<field eval=""""From assigned to backorder."""" name="name"/>
100
<field eval=""""From assigned to backorder."""" name="note"/>
101
<field model="process.node" name="source_node_id" ref="stock.process_node_in_assigned"/>
102
<field model="process.node" name="target_node_id" ref="stock.process_node_in_backorder"/>