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

« back to all changes in this revision

Viewing changes to msf_processes/process/incoming_process.xml

  • Committer: jf
  • Date: 2011-03-23 13:23:55 UTC
  • Revision ID: jf@tempo4-20110323132355-agyf1soy7m5ewatr
Initial Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
2
 
<openerp>
3
 
    <data>
4
 
 
5
 
                <!-- Process process -->
6
 
        
7
 
        <record id="stock.process_process_incoming0" model="process.process">
8
 
            <field eval="&quot;&quot;&quot;Incoming&quot;&quot;&quot;" name="name"/>
9
 
            <field name="model_id" ref="stock.model_stock_picking"/>
10
 
            <field eval="1" name="active"/>
11
 
        </record>
12
 
        
13
 
        <!-- Process Node -->
14
 
        
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
19
 
            <field eval="&quot;&quot;&quot;In - draft&quot;&quot;&quot;" name="name"/>
20
 
            <field eval="&quot;&quot;&quot;Draft state of incoming product.&quot;&quot;&quot;" name="note"/>
21
 
            <field name="process_id" ref="stock.process_process_incoming0"/>
22
 
            <field eval="&quot;&quot;&quot;object.state in ('draft', 'auto', 'confirmed', 'assigned', 'done')&quot;&quot;&quot;" name="model_states"/>
23
 
            <field eval="1" name="flow_start"/>
24
 
        </record>
25
 
        
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
30
 
            <field eval="&quot;&quot;&quot;In - not available&quot;&quot;&quot;" name="name"/>
31
 
            <field eval="&quot;&quot;&quot;Not available state of incoming product.&quot;&quot;&quot;" name="note"/>
32
 
            <field name="process_id" ref="stock.process_process_incoming0"/>
33
 
            <field eval="&quot;&quot;&quot;object.state in ('auto', 'confirmed', 'assigned', 'done')&quot;&quot;&quot;" name="model_states"/>
34
 
            <field eval="0" name="flow_start"/>
35
 
        </record>
36
 
        
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
41
 
            <field eval="&quot;&quot;&quot;In - available&quot;&quot;&quot;" name="name"/>
42
 
            <field eval="&quot;&quot;&quot;Available state of incoming product.&quot;&quot;&quot;" name="note"/>
43
 
            <field name="process_id" ref="stock.process_process_incoming0"/>
44
 
            <field eval="&quot;&quot;&quot;object.state in ('assigned', 'done')&quot;&quot;&quot;" name="model_states"/>
45
 
            <field eval="0" name="flow_start"/>
46
 
        </record>
47
 
        
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
52
 
            <field eval="&quot;&quot;&quot;In - closed&quot;&quot;&quot;" name="name"/>
53
 
            <field eval="&quot;&quot;&quot;Closed state of incoming product.&quot;&quot;&quot;" name="note"/>
54
 
            <field name="process_id" ref="stock.process_process_incoming0"/>
55
 
            <field eval="&quot;&quot;&quot;object.state == 'done'&quot;&quot;&quot;" name="model_states"/>
56
 
            <field eval="0" name="flow_start"/>
57
 
        </record>
58
 
        
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="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
63
 
            <field eval="&quot;&quot;&quot;Backorder&quot;&quot;&quot;" name="name"/>
64
 
            <field eval="&quot;&quot;&quot;Backorder of incoming products subflow.&quot;&quot;&quot;" 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="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
68
 
            <field eval="0" name="flow_start"/>
69
 
        </record>
70
 
        
71
 
        <!-- Transition Node -->
72
 
        
73
 
        <record id="stock.process_transition_in_draft_confirmed" model="process.transition">
74
 
            <field eval="[(6,0,[])]" name="transition_ids"/>
75
 
            <field eval="&quot;&quot;&quot;From draft to confirmed.&quot;&quot;&quot;" name="name"/>
76
 
            <field eval="&quot;&quot;&quot;From draft to confirmed.&quot;&quot;&quot;" 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"/>
79
 
        </record>
80
 
        
81
 
        <record id="stock.process_transition_in_confirmed_assigned" model="process.transition">
82
 
            <field eval="[(6,0,[])]" name="transition_ids"/>
83
 
            <field eval="&quot;&quot;&quot;From confirmed to assigned.&quot;&quot;&quot;" name="name"/>
84
 
            <field eval="&quot;&quot;&quot;From confirmed to assigned.&quot;&quot;&quot;" 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"/>
87
 
        </record>
88
 
        
89
 
        <record id="stock.process_transition_in_assigned_done" model="process.transition">
90
 
            <field eval="[(6,0,[])]" name="transition_ids"/>
91
 
            <field eval="&quot;&quot;&quot;From assigned to closed.&quot;&quot;&quot;" name="name"/>
92
 
            <field eval="&quot;&quot;&quot;From assigned to closed.&quot;&quot;&quot;" 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"/>
95
 
        </record>
96
 
        
97
 
        <record id="stock.process_transition_in_assigned_backorder" model="process.transition">
98
 
            <field eval="[(6,0,[])]" name="transition_ids"/>
99
 
            <field eval="&quot;&quot;&quot;From assigned to backorder.&quot;&quot;&quot;" name="name"/>
100
 
            <field eval="&quot;&quot;&quot;From assigned to backorder.&quot;&quot;&quot;" 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"/>
103
 
        </record>
104
 
        
105
 
    </data>
106
 
</openerp>