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

« back to all changes in this revision

Viewing changes to msf_processes/process/ship_process.xml

  • Committer: Olivier DOSSMANN
  • Date: 2013-05-31 14:22:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1687.
  • Revision ID: od@tempo-consulting.fr-20130531142209-sbcwvzuema11guzz
UF-1991 [FIX] Problem with wizard on "msg" field. Change it to "name".

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="msf_outgoing.process_process_ship0" model="process.process">
 
8
            <field eval="&quot;&quot;&quot;Shipment&quot;&quot;&quot;" name="name"/>
 
9
            <field name="model_id" ref="msf_outgoing.model_shipment"/>
 
10
            <field eval="1" name="active"/>
 
11
        </record>
 
12
        
 
13
        <!-- Process Node outgoing -->
 
14
        
 
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
19
            <field eval="&quot;&quot;&quot;Shipment - shipped&quot;&quot;&quot;" name="name"/>
 
20
            <field eval="&quot;&quot;&quot;Shipped state of shipment.&quot;&quot;&quot;" name="note"/>
 
21
            <field name="process_id" ref="msf_outgoing.process_process_ship0"/>
 
22
            <field eval="&quot;&quot;&quot;object.state in ('shipped', 'done', 'delivered')&quot;&quot;&quot;" name="model_states"/>
 
23
            <field eval="1" name="flow_start"/>
 
24
        </record>
 
25
        
 
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
30
            <field eval="&quot;&quot;&quot;Shipment - closed&quot;&quot;&quot;" name="name"/>
 
31
            <field eval="&quot;&quot;&quot;Closed state of shipment.&quot;&quot;&quot;" name="note"/>
 
32
            <field name="process_id" ref="msf_outgoing.process_process_ship0"/>
 
33
            <field eval="&quot;&quot;&quot;object.state in ('done', 'delivered')&quot;&quot;&quot;" name="model_states"/>
 
34
            <field eval="0" name="flow_start"/>
 
35
        </record>
 
36
        
 
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="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
 
41
            <field eval="&quot;&quot;&quot;Shipment - delivered&quot;&quot;&quot;" name="name"/>
 
42
            <field eval="&quot;&quot;&quot;Delivered state of shipment.&quot;&quot;&quot;" name="note"/>
 
43
            <field name="process_id" ref="msf_outgoing.process_process_ship0"/>
 
44
            <field eval="&quot;&quot;&quot;object.state == 'delivered'&quot;&quot;&quot;" name="model_states"/>
 
45
            <field eval="0" name="flow_start"/>
 
46
        </record>
 
47
        
 
48
        <!-- Transition Node -->
 
49
        
 
50
        <record id="msf_outgoing.process_transition_ship_shipped_done" model="process.transition">
 
51
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
52
            <field eval="&quot;&quot;&quot;From shipped to closed.&quot;&quot;&quot;" name="name"/>
 
53
            <field eval="&quot;&quot;&quot;From shipped to closed.&quot;&quot;&quot;" 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"/>
 
56
        </record>
 
57
        
 
58
        <record id="msf_outgoing.process_transition_ship_done_delivered" model="process.transition">
 
59
            <field eval="[(6,0,[])]" name="transition_ids"/>
 
60
            <field eval="&quot;&quot;&quot;From closed to delivered.&quot;&quot;&quot;" name="name"/>
 
61
            <field eval="&quot;&quot;&quot;From closed to delivered.&quot;&quot;&quot;" 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"/>
 
64
        </record>
 
65
        
 
66
    </data>
 
67
</openerp>