~unifield-team/unifield-wm/us-826

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
<?xml version="1.0" ?>
<openerp>
    <data>

		<!-- Process process -->
        
        <record id="msf_outgoing.process_process_draft_ship0" model="process.process">
            <field eval="&quot;&quot;&quot;Draft Shipment&quot;&quot;&quot;" name="name"/>
            <field name="model_id" ref="msf_outgoing.model_shipment"/>
            <field eval="1" name="active"/>
        </record>
        
        <!-- Process Node outgoing -->
        
		<record id="msf_outgoing.process_node_draft_ship_draft" model="process.node">
            <field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
            <field name="model_id" ref="msf_outgoing.model_shipment"/>
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
            <field eval="&quot;&quot;&quot;Draft Ship. - draft&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;Draft state of draft shipment.&quot;&quot;&quot;" name="note"/>
            <field name="process_id" ref="msf_outgoing.process_process_draft_ship0"/>
            <field eval="&quot;&quot;&quot;object.state in ('draft', 'done')&quot;&quot;&quot;" name="model_states"/>
            <field eval="1" name="flow_start"/>
        </record>
        
        <record id="msf_outgoing.process_node_draft_ship_done" model="process.node">
            <field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
            <field name="model_id" ref="msf_outgoing.model_shipment"/>
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
            <field eval="&quot;&quot;&quot;Draft Ship. - closed&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;Closed state of draft shipment.&quot;&quot;&quot;" name="note"/>
            <field name="process_id" ref="msf_outgoing.process_process_draft_ship0"/>
            <field eval="&quot;&quot;&quot;object.state == 'done'&quot;&quot;&quot;" name="model_states"/>
            <field eval="0" name="flow_start"/>
        </record>
        
        <record id="msf_outgoing.process_node_draft_ship_ship" model="process.node">
        	<field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
            <field eval="&quot;&quot;&quot;Shipment&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;Shipment subflow.&quot;&quot;&quot;" name="note"/>
            <field name="process_id" ref="msf_outgoing.process_process_draft_ship0"/>
            <field name="subflow_id" ref="msf_outgoing.process_process_ship0"/>
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
            <field eval="0" name="flow_start"/>
        </record>
        
        <!-- Transition Node -->
        
        <record id="msf_outgoing.process_transition_draft_ship_draft_done" model="process.transition">
            <field eval="[(6,0,[])]" name="transition_ids"/>
            <field eval="&quot;&quot;&quot;From draft to closed.&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;From draft to closed.&quot;&quot;&quot;" name="note"/>
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_ship_draft"/>
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_ship_done"/>
        </record>
        
        <record id="msf_outgoing.process_transition_draft_ship_draft_ship_ship" model="process.transition">
            <field eval="[(6,0,[])]" name="transition_ids"/>
            <field eval="&quot;&quot;&quot;From draft shipment to shipment.&quot;&quot;&quot;" name="name"/>
            <field eval="&quot;&quot;&quot;From draft shipment to shipment.&quot;&quot;&quot;" name="note"/>
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_ship_draft"/>
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_ship_ship"/>
        </record>
        
    </data>
</openerp>