~openerp-chinese-team/openerp-china/openerp-china

« back to all changes in this revision

Viewing changes to contract/process/contract_process.xml

  • Committer: JoshuaJan
  • Date: 2012-11-13 13:34:17 UTC
  • mfrom: (88.1.1 openerp-china)
  • Revision ID: popkar77@gmail.com-20121113133417-hoe5mhl3kgpmv6hi
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
    <!--
 
6
        Process
 
7
    -->
 
8
 
 
9
        <record id="process_process_contractprocess0" model="process.process">
 
10
            <field name="active" eval="1"/>
 
11
            <field name="model_id" ref="contract.model_contract"/>
 
12
            <field name="name" eval="&quot;&quot;&quot;&#21512;&#21516;&quot;&quot;&quot;"/>
 
13
            <field name="note" eval="&quot;&quot;&quot;&#23545;&#20225;&#19994;&#30340;&#38144;&#21806;&#12289;&#37319;&#36141;&#21450;&#20854;&#23427;&#21512;&#21516;&#36827;&#34892;&#31649;&#29702;&quot;&quot;&quot;"/>
 
14
        </record>
 
15
 
 
16
    <!--
 
17
        Process Node
 
18
    -->
 
19
 
 
20
        <record id="process_node_contract1" model="process.node">
 
21
            <field name="menu_id" ref="menu_contract_sale"/>
 
22
            <field name="model_id" ref="contract.model_contract"/>
 
23
            <field name="kind" eval="&quot;&quot;&quot;state&quot;&quot;&quot;"/>
 
24
            <field name="name" eval="&quot;&quot;&quot;draft&quot;&quot;&quot;"/>
 
25
            <field name="note" eval="&quot;&quot;&quot;&#21512;&#21516; draft&quot;&quot;&quot;"/>
 
26
            <field name="process_id" ref="process_process_contractprocess0"/>
 
27
            <field name="flow_start" eval="1"/>
 
28
        </record>
 
29
 
 
30
        <record id="process_node_contract2" model="process.node">
 
31
            <field name="menu_id" ref="menu_contract_sale"/>
 
32
            <field name="model_id" ref="contract.model_contract"/>
 
33
            <field name="kind" eval="&quot;&quot;&quot;state&quot;&quot;&quot;"/>
 
34
            <field name="name" eval="&quot;&quot;&quot;wait_prove&quot;&quot;&quot;"/>
 
35
            <field name="note" eval="&quot;&quot;&quot;&#21512;&#21516; wait_prove&quot;&quot;&quot;"/>
 
36
            <field name="process_id" ref="process_process_contractprocess0"/>
 
37
            <field name="flow_start" eval="0"/>
 
38
        </record>
 
39
 
 
40
        <record id="process_node_contract3" model="process.node">
 
41
            <field name="menu_id" ref="menu_contract_sale"/>
 
42
            <field name="model_id" ref="contract.model_contract"/>
 
43
            <field name="kind" eval="&quot;&quot;&quot;state&quot;&quot;&quot;"/>
 
44
            <field name="name" eval="&quot;&quot;&quot;proved&quot;&quot;&quot;"/>
 
45
            <field name="note" eval="&quot;&quot;&quot;&#21512;&#21516; proved&quot;&quot;&quot;"/>
 
46
            <field name="process_id" ref="process_process_contractprocess0"/>
 
47
            <field name="flow_start" eval="0"/>
 
48
        </record>
 
49
 
 
50
        <record id="process_node_contract4" model="process.node">
 
51
            <field name="menu_id" ref="menu_contract_sale"/>
 
52
            <field name="model_id" ref="contract.model_contract"/>
 
53
            <field name="kind" eval="&quot;&quot;&quot;state&quot;&quot;&quot;"/>
 
54
            <field name="name" eval="&quot;&quot;&quot;rejected&quot;&quot;&quot;"/>
 
55
            <field name="note" eval="&quot;&quot;&quot;&#21512;&#21516; rejected&quot;&quot;&quot;"/>
 
56
            <field name="process_id" ref="process_process_contractprocess0"/>
 
57
            <field name="flow_start" eval="0"/>
 
58
        </record>
 
59
 
 
60
 
 
61
 
 
62
    <!--
 
63
        Process Transition
 
64
    -->
 
65
 
 
66
        <record id="process_transition_contract1_2" model="process.transition">
 
67
            <field name="transition_ids" eval="[(6,0,[])]"/>
 
68
            <field name="name" eval="&quot;&quot;&quot;toprove&quot;&quot;&quot;"/>
 
69
            <field name="note" eval="&quot;&quot;&quot;&#23545;&#20225;&#19994;&#30340;&#38144;&#21806;&#12289;&#37319;&#36141;&#21450;&#20854;&#23427;&#21512;&#21516;&#36827;&#34892;&#31649;&#29702;&quot;&quot;&quot;"/>
 
70
            <field model="process.node" name="source_node_id" ref="process_node_contract1"/>
 
71
            <field model="process.node" name="target_node_id" ref="process_node_contract2"/>
 
72
        </record>
 
73
 
 
74
        <record id="process_transition_contract2_3" model="process.transition">
 
75
            <field name="transition_ids" eval="[(6,0,[])]"/>
 
76
            <field name="name" eval="&quot;&quot;&quot;prove&quot;&quot;&quot;"/>
 
77
            <field name="note" eval="&quot;&quot;&quot;&#23545;&#20225;&#19994;&#30340;&#38144;&#21806;&#12289;&#37319;&#36141;&#21450;&#20854;&#23427;&#21512;&#21516;&#36827;&#34892;&#31649;&#29702;&quot;&quot;&quot;"/>
 
78
            <field model="process.node" name="source_node_id" ref="process_node_contract2"/>
 
79
            <field model="process.node" name="target_node_id" ref="process_node_contract3"/>
 
80
        </record>
 
81
 
 
82
        <record id="process_transition_contract2_4" model="process.transition">
 
83
            <field name="transition_ids" eval="[(6,0,[])]"/>
 
84
            <field name="name" eval="&quot;&quot;&quot;reject&quot;&quot;&quot;"/>
 
85
            <field name="note" eval="&quot;&quot;&quot;&#23545;&#20225;&#19994;&#30340;&#38144;&#21806;&#12289;&#37319;&#36141;&#21450;&#20854;&#23427;&#21512;&#21516;&#36827;&#34892;&#31649;&#29702;&quot;&quot;&quot;"/>
 
86
            <field model="process.node" name="source_node_id" ref="process_node_contract2"/>
 
87
            <field model="process.node" name="target_node_id" ref="process_node_contract4"/>
 
88
        </record>
 
89
 
 
90
    </data>
 
91
</openerp>