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

« back to all changes in this revision

Viewing changes to msf_processes/process/outgoing_process.xml

  • Committer: Quentin THEURET
  • Date: 2016-03-04 12:15:00 UTC
  • Revision ID: qt@tempo-consulting.fr-20160304121500-u2ay8zrf83ih9fu3
US-826 [IMP] Change the way to check if products is not consistent on add multiple line wizard

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 outgoing -->
 
6
        
 
7
        <record id="msf_outgoing.process_process_outgoing0" model="process.process">
 
8
            <field eval="&quot;&quot;&quot;Standard Outgoing&quot;&quot;&quot;" name="name"/>
 
9
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
10
            <field eval="1" name="active"/>
 
11
        </record>
 
12
        
 
13
        <!-- Process Node outgoing -->
 
14
        
 
15
        <record id="msf_outgoing.process_node_out_draft" model="process.node">
 
16
            <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
17
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
18
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
19
            <field eval="&quot;&quot;&quot;Out - 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="msf_outgoing.process_process_outgoing0"/>
 
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="msf_outgoing.process_node_out_confirmed" model="process.node">
 
27
            <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
28
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
29
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
30
            <field eval="&quot;&quot;&quot;Out - 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="msf_outgoing.process_process_outgoing0"/>
 
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="msf_outgoing.process_node_out_assigned" model="process.node">
 
38
            <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
39
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
40
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
41
            <field eval="&quot;&quot;&quot;Out - 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="msf_outgoing.process_process_outgoing0"/>
 
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="msf_outgoing.process_node_out_done" model="process.node">
 
49
            <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
50
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
51
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
52
            <field eval="&quot;&quot;&quot;Out - 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="msf_outgoing.process_process_outgoing0"/>
 
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="msf_outgoing.process_node_out_delivered" model="process.node">
 
60
            <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
61
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
62
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
63
            <field eval="&quot;&quot;&quot;Out - delivered&quot;&quot;&quot;" name="name"/>
 
64
            <field eval="&quot;&quot;&quot;Delivered state of incoming product.&quot;&quot;&quot;" name="note"/>
 
65
            <field name="process_id" ref="msf_outgoing.process_process_outgoing0"/>
 
66
            <field eval="&quot;&quot;&quot;object.state == 'done' and object.delivered&quot;&quot;&quot;" name="model_states"/>
 
67
            <field eval="0" name="flow_start"/>
 
68
        </record>
 
69
        
 
70
        <record id="msf_outgoing.process_node_out_backorder" model="process.node">
 
71
                <field name="menu_id" ref="stock.menu_action_picking_tree"/>
 
72
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
 
73
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
 
74
            <field eval="&quot;&quot;&quot;Backorder&quot;&quot;&quot;" name="name"/>
 
75
            <field eval="&quot;&quot;&quot;Backorder of incoming products subflow.&quot;&quot;&quot;" name="note"/>
 
76
            <field name="process_id" ref="msf_outgoing.process_process_outgoing0"/>
 
77
            <field name="subflow_id" ref="msf_outgoing.process_process_outgoing0"/>
 
78
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
 
79
            <field eval="0" name="flow_start"/>
 
80
        </record>
 
81
        
 
82
        <!-- Transition Node -->
 
83
        
 
84
        <record id="msf_outgoing.process_transition_out_draft_confirmed" model="process.transition">
 
85
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
86
            <field eval="&quot;&quot;&quot;From draft to confirmed.&quot;&quot;&quot;" name="name"/>
 
87
            <field eval="&quot;&quot;&quot;From draft to confirmed.&quot;&quot;&quot;" name="note"/>
 
88
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_out_draft"/>
 
89
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_out_confirmed"/>
 
90
        </record>
 
91
        
 
92
        <record id="msf_outgoing.process_transition_out_confirmed_assigned" model="process.transition">
 
93
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
94
            <field eval="&quot;&quot;&quot;From confirmed to assigned.&quot;&quot;&quot;" name="name"/>
 
95
            <field eval="&quot;&quot;&quot;From confirmed to assigned.&quot;&quot;&quot;" name="note"/>
 
96
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_out_confirmed"/>
 
97
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_out_assigned"/>
 
98
        </record>
 
99
        
 
100
        <record id="msf_outgoing.process_transition_out_assigned_done" model="process.transition">
 
101
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
102
            <field eval="&quot;&quot;&quot;From assigned to closed.&quot;&quot;&quot;" name="name"/>
 
103
            <field eval="&quot;&quot;&quot;From assigned to closed.&quot;&quot;&quot;" name="note"/>
 
104
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_out_assigned"/>
 
105
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_out_done"/>
 
106
        </record>
 
107
        
 
108
                <record id="msf_outgoing.process_transition_out_done_delivered" model="process.transition">
 
109
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
110
            <field eval="&quot;&quot;&quot;From closed to delivered.&quot;&quot;&quot;" name="name"/>
 
111
            <field eval="&quot;&quot;&quot;From closed to delivered.&quot;&quot;&quot;" name="note"/>
 
112
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_out_done"/>
 
113
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_out_delivered"/>
 
114
        </record>
 
115
        
 
116
        <record id="msf_outgoing.process_transition_out_assigned_backorder" model="process.transition">
 
117
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
118
            <field eval="&quot;&quot;&quot;From assigned to backorder.&quot;&quot;&quot;" name="name"/>
 
119
            <field eval="&quot;&quot;&quot;From assigned to backorder.&quot;&quot;&quot;" name="note"/>
 
120
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_out_assigned"/>
 
121
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_out_backorder"/>
 
122
        </record>
 
123
        
 
124
        <!-- Process Node picking -->
 
125
        
 
126
        <record id="msf_outgoing.process_process_outgoing1" model="process.process">
 
127
            <field eval="&quot;&quot;&quot;Draft Picking Ticket&quot;&quot;&quot;" name="name"/>
 
128
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
129
            <field eval="1" name="active"/>
 
130
        </record>
 
131
        
 
132
        <record id="msf_outgoing.process_node_draft_pick_draft" model="process.node">
 
133
            <field name="menu_id" ref="msf_outgoing.menu_action_picking_ticket"/>
 
134
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
135
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
136
            <field eval="&quot;&quot;&quot;Draft Picking - draft&quot;&quot;&quot;" name="name"/>
 
137
            <field eval="&quot;&quot;&quot;Draft state of draft picking ticket.&quot;&quot;&quot;" name="note"/>
 
138
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
139
            <field eval="&quot;&quot;&quot;object.state in ('draft', 'auto', 'confirmed', 'assigned', 'done')&quot;&quot;&quot;" name="model_states"/>
 
140
            <field eval="1" name="flow_start"/>
 
141
        </record>
 
142
        
 
143
        <record id="msf_outgoing.process_node_draft_pick_done" model="process.node">
 
144
            <field name="menu_id" ref="msf_outgoing.menu_action_picking_ticket"/>
 
145
            <field name="model_id" ref="msf_outgoing.model_stock_picking"/>
 
146
            <field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
147
            <field eval="&quot;&quot;&quot;Draft Picking - closed&quot;&quot;&quot;" name="name"/>
 
148
            <field eval="&quot;&quot;&quot;Closed state of draft picking ticket.&quot;&quot;&quot;" name="note"/>
 
149
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
150
            <field eval="&quot;&quot;&quot;object.state in ('auto', 'confirmed', 'assigned', 'done')&quot;&quot;&quot;" name="model_states"/>
 
151
            <field eval="0" name="flow_start"/>
 
152
        </record>
 
153
        
 
154
        <record id="msf_outgoing.process_node_draft_pick_picking" model="process.node">
 
155
                <field name="menu_id" ref="msf_outgoing.menu_action_picking_ticket"/>
 
156
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
 
157
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
 
158
            <field eval="&quot;&quot;&quot;Picking Ticket&quot;&quot;&quot;" name="name"/>
 
159
            <field eval="&quot;&quot;&quot;Picking Ticket subflow.&quot;&quot;&quot;" name="note"/>
 
160
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
161
            <field name="subflow_id" ref="msf_outgoing.process_process_picking0"/>
 
162
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
 
163
            <field eval="0" name="flow_start"/>
 
164
        </record>
 
165
        
 
166
        <record id="msf_outgoing.process_node_draft_pick_ppl" model="process.node">
 
167
                <field name="menu_id" ref="msf_outgoing.menu_action_ppl"/>
 
168
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
 
169
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
 
170
            <field eval="&quot;&quot;&quot;PPL&quot;&quot;&quot;" name="name"/>
 
171
            <field eval="&quot;&quot;&quot;Pre-packing list subflow.&quot;&quot;&quot;" name="note"/>
 
172
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
173
            <field name="subflow_id" ref="msf_outgoing.process_process_ppl0"/>
 
174
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
 
175
            <field eval="0" name="flow_start"/>
 
176
        </record>
 
177
        
 
178
        <record id="msf_outgoing.process_node_draft_pick_draft_ship" model="process.node">
 
179
                <field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
 
180
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
 
181
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
 
182
            <field eval="&quot;&quot;&quot;Draft Shipment&quot;&quot;&quot;" name="name"/>
 
183
            <field eval="&quot;&quot;&quot;Draft shipment subflow.&quot;&quot;&quot;" name="note"/>
 
184
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
185
            <field name="subflow_id" ref="msf_outgoing.process_process_draft_ship0"/>
 
186
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
 
187
            <field eval="0" name="flow_start"/>
 
188
        </record>
 
189
        
 
190
        <record id="msf_outgoing.process_node_draft_pick_ship" model="process.node">
 
191
                <field name="menu_id" ref="msf_outgoing.menu_action_shipment"/>
 
192
            <!-- <field name="model_id" ref="msf_outgoing.model_stock_picking"/> -->
 
193
            <field eval="&quot;&quot;&quot;subflow&quot;&quot;&quot;" name="kind"/>
 
194
            <field eval="&quot;&quot;&quot;Shipment&quot;&quot;&quot;" name="name"/>
 
195
            <field eval="&quot;&quot;&quot;Shipment subflow.&quot;&quot;&quot;" name="note"/>
 
196
            <field name="process_id" ref="msf_outgoing.process_process_outgoing1"/>
 
197
            <field name="subflow_id" ref="msf_outgoing.process_process_ship0"/>
 
198
            <!-- <field eval="&quot;&quot;&quot;object.state in ('assigned', 'confirmed')&quot;&quot;&quot;" name="model_states"/> -->
 
199
            <field eval="0" name="flow_start"/>
 
200
        </record>
 
201
        
 
202
        <!-- Transition Node -->
 
203
        
 
204
        <record id="msf_outgoing.process_transition_draft_pick_draft_done" model="process.transition">
 
205
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
206
            <field eval="&quot;&quot;&quot;From draft to closed.&quot;&quot;&quot;" name="name"/>
 
207
            <field eval="&quot;&quot;&quot;From draft to closed.&quot;&quot;&quot;" name="note"/>
 
208
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_pick_draft"/>
 
209
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_pick_done"/>
 
210
        </record>
 
211
        
 
212
        <record id="msf_outgoing.process_transition_draft_pick_draft_picking" model="process.transition">
 
213
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
214
            <field eval="&quot;&quot;&quot;From draft to picking.&quot;&quot;&quot;" name="name"/>
 
215
            <field eval="&quot;&quot;&quot;From draft to picking.&quot;&quot;&quot;" name="note"/>
 
216
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_pick_draft"/>
 
217
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_pick_picking"/>
 
218
        </record>
 
219
        
 
220
        <record id="msf_outgoing.process_transition_draft_pick_picking_ppl" model="process.transition">
 
221
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
222
            <field eval="&quot;&quot;&quot;From picking to ppl.&quot;&quot;&quot;" name="name"/>
 
223
            <field eval="&quot;&quot;&quot;From picking to ppl.&quot;&quot;&quot;" name="note"/>
 
224
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_pick_picking"/>
 
225
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_pick_ppl"/>
 
226
        </record>
 
227
        
 
228
                <record id="msf_outgoing.process_transition_draft_pick_ppl_draft_ship" model="process.transition">
 
229
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
230
            <field eval="&quot;&quot;&quot;From ppl to draft shipment.&quot;&quot;&quot;" name="name"/>
 
231
            <field eval="&quot;&quot;&quot;From ppl to draft shipment.&quot;&quot;&quot;" name="note"/>
 
232
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_pick_ppl"/>
 
233
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_pick_draft_ship"/>
 
234
        </record>
 
235
        
 
236
        <record id="msf_outgoing.process_transition_draft_pick_draft_ship_ship" model="process.transition">
 
237
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
238
            <field eval="&quot;&quot;&quot;From draft shipment to shipment.&quot;&quot;&quot;" name="name"/>
 
239
            <field eval="&quot;&quot;&quot;From draft shipment to shipment.&quot;&quot;&quot;" name="note"/>
 
240
            <field model="process.node" name="source_node_id" ref="msf_outgoing.process_node_draft_pick_draft_ship"/>
 
241
            <field model="process.node" name="target_node_id" ref="msf_outgoing.process_node_draft_pick_ship"/>
 
242
        </record>
 
243
        
 
244
    </data>
 
245
</openerp>