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

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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?xml version="1.0"?>
<!-- __author__ = jeff@openerp.cn -->
<openerp>
	<data>

        <!-- 设置中国中文名称 -->
        <record id="base.cn" model="res.country">
            <field name="name">中国</field>
            <field name="code">cn</field>
        </record>

        <!-- 添加省份数据 -->
        <record id="state_BJ" model="res.country.state">
            <field name="name">北京市</field>
            <field name="code">BJ11</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_SH" model="res.country.state">
            <field name="name">上海市</field>
            <field name="code">SH31</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_ZJ" model="res.country.state">
            <field name="name">浙江省</field>
            <field name="code">ZJ33</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_TJ" model="res.country.state">
            <field name="name">天津市</field>
            <field name="code">TJ12</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_AH" model="res.country.state">
            <field name="name">安徽省</field>
            <field name="code">AH34</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_FJ" model="res.country.state">
            <field name="name">福建省</field>
            <field name="code">FJ35</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_CQ" model="res.country.state">
            <field name="name">重庆市</field>
            <field name="code">CQ50</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_JX" model="res.country.state">
            <field name="name">江西省</field>
            <field name="code">JX36</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_SD" model="res.country.state">
            <field name="name">山东省</field>
            <field name="code">SD37</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HeN" model="res.country.state">
            <field name="name">河南省</field>
            <field name="code">HA41</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_NM" model="res.country.state">
            <field name="name">内蒙古自治区</field>
            <field name="code">NM15</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HuB" model="res.country.state">
            <field name="name">湖北省</field>
            <field name="code">HB42</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_XJ" model="res.country.state">
            <field name="name">新疆维吾尔自治区</field>
            <field name="code">XJ65</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HuN" model="res.country.state">
            <field name="name">湖南省</field>
            <field name="code">HN43</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_NX" model="res.country.state">
            <field name="name">宁夏回族自治区</field>
            <field name="code">NX64</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_GD" model="res.country.state">
            <field name="name">广东省</field>
            <field name="code">GD44</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_XZ" model="res.country.state">
            <field name="name">西藏自治区</field>
            <field name="code">XZ54</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HaN" model="res.country.state">
            <field name="name">海南省</field>
            <field name="code">HI46</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_GX" model="res.country.state">
            <field name="name">广西壮族自治区</field>
            <field name="code">GX45</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_SC" model="res.country.state">
            <field name="name">四川省</field>
            <field name="code">SC51</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HeB" model="res.country.state">
            <field name="name">河北省</field>
            <field name="code">HE13</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_GZ" model="res.country.state">
            <field name="name">贵州省</field>
            <field name="code">GZ52</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_SX" model="res.country.state">
            <field name="name">山西省</field>
            <field name="code">SX14</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_YN" model="res.country.state">
            <field name="name">云南省</field>
            <field name="code">YN53</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_LN" model="res.country.state">
            <field name="name">辽宁省</field>
            <field name="code">LN21</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_SX" model="res.country.state">
            <field name="name">陕西省</field>
            <field name="code">SN61</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_JL" model="res.country.state">
            <field name="name">吉林省</field>
            <field name="code">JL22</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_GS" model="res.country.state">
            <field name="name">甘肃省</field>
            <field name="code">GS62</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_HL" model="res.country.state">
            <field name="name">黑龙江省</field>
            <field name="code">HL23</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_QH" model="res.country.state">
            <field name="name">青海省</field>
            <field name="code">QH63</field>
            <field name="country_id" ref="base.cn"/>
        </record>
        <record id="state_JS" model="res.country.state">
            <field name="name">江苏省</field>
            <field name="code">JS32</field>
            <field name="country_id" ref="base.cn"/>
        </record>
    </data>
</openerp>