5
<!-- Process process -->
7
<record id="msf_outgoing.process_process_ship0" model="process.process">
8
<field eval=""""Shipment"""" name="name"/>
9
<field name="model_id" ref="msf_outgoing.model_shipment"/>
10
<field eval="1" name="active"/>
13
<!-- Process Node outgoing -->
15
<record id="msf_outgoing.process_node_ship_shipped" model="process.node">
16
<field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
17
<field name="model_id" ref="msf_outgoing.model_shipment"/>
18
<field eval=""""state"""" name="kind"/>
19
<field eval=""""Shipment - shipped"""" name="name"/>
20
<field eval=""""Shipped state of shipment."""" name="note"/>
21
<field name="process_id" ref="msf_outgoing.process_process_ship0"/>
22
<field eval=""""object.state in ('shipped', 'done', 'delivered')"""" name="model_states"/>
23
<field eval="1" name="flow_start"/>
26
<record id="msf_outgoing.process_node_ship_done" model="process.node">
27
<field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
28
<field name="model_id" ref="msf_outgoing.model_shipment"/>
29
<field eval=""""state"""" name="kind"/>
30
<field eval=""""Shipment - closed"""" name="name"/>
31
<field eval=""""Closed state of shipment."""" name="note"/>
32
<field name="process_id" ref="msf_outgoing.process_process_ship0"/>
33
<field eval=""""object.state in ('done', 'delivered')"""" name="model_states"/>
34
<field eval="0" name="flow_start"/>
37
<record id="msf_outgoing.process_node_ship_delivered" model="process.node">
38
<field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
39
<field name="model_id" ref="msf_outgoing.model_shipment"/>
40
<field eval=""""state"""" name="kind"/>
41
<field eval=""""Shipment - delivered"""" name="name"/>
42
<field eval=""""Delivered state of shipment."""" name="note"/>
43
<field name="process_id" ref="msf_outgoing.process_process_ship0"/>
44
<field eval=""""object.state == 'delivered'"""" name="model_states"/>
45
<field eval="0" name="flow_start"/>
48
<!-- Transition Node -->
50
<record id="msf_outgoing.process_transition_ship_shipped_done" model="process.transition">
51
<field eval="[(6,0,[])]" name="transition_ids"/>
52
<field eval=""""From shipped to closed."""" name="name"/>
53
<field eval=""""From shipped to closed."""" name="note"/>
54
<field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_ship_shipped"/>
55
<field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_ship_done"/>
58
<record id="msf_outgoing.process_transition_ship_done_delivered" model="process.transition">
59
<field eval="[(6,0,[])]" name="transition_ids"/>
60
<field eval=""""From closed to delivered."""" name="name"/>
61
<field eval=""""From closed to delivered."""" name="note"/>
62
<field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_ship_done"/>
63
<field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_ship_delivered"/>