Merge lp:~acysos-team/openerp-spain/openerp-spain-6.0-city into lp:~openerp-spain-team/openerp-spain/6.0
- openerp-spain-6.0-city
- Merge into 6.0
Proposed by
Ignacio Ibeas (www.acysos.com)
Status: | Merged |
---|---|
Merged at revision: | 345 |
Proposed branch: | lp:~acysos-team/openerp-spain/openerp-spain-6.0-city |
Merge into: | lp:~openerp-spain-team/openerp-spain/6.0 |
Diff against target: |
1306 lines (+1204/-0) 19 files modified
city/__init__.py (+28/-0) city/__openerp__.py (+46/-0) city/city.py (+70/-0) city/city_view.xml (+45/-0) city/country.py (+35/-0) city/country_view.xml (+16/-0) city/i18n/bg.po (+88/-0) city/i18n/ca.po (+94/-0) city/i18n/city.pot (+76/-0) city/i18n/es.po (+76/-0) city/i18n/fi.po (+88/-0) city/i18n/fr.po (+93/-0) city/i18n/fr_BE.po (+85/-0) city/i18n/ru.po (+89/-0) city/i18n/sv.po (+86/-0) city/i18n/vi.po (+89/-0) city/partner.py (+50/-0) city/partner_view.xml (+47/-0) city/security/ir.model.access.csv (+3/-0) |
To merge this branch: | bzr merge lp:~acysos-team/openerp-spain/openerp-spain-6.0-city |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ignacio Ibeas (www.acysos.com) | Approve | ||
Review via email: mp+163488@code.launchpad.net |
Commit message
Description of the change
Añade el módulo city que usamos muchos en la localización y de momento no van a añadirlo en otros repositorios más lógicos.
To post a comment you must log in.
Revision history for this message
Ignacio Ibeas (www.acysos.com) (ignacio-acysos) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'city' | |||
2 | === added file 'city/__init__.py' | |||
3 | --- city/__init__.py 1970-01-01 00:00:00 +0000 | |||
4 | +++ city/__init__.py 2013-05-13 09:06:50 +0000 | |||
5 | @@ -0,0 +1,28 @@ | |||
6 | 1 | # -*- encoding: utf-8 -*- | ||
7 | 2 | ############################################################################## | ||
8 | 3 | # | ||
9 | 4 | # OpenERP, Open Source Management Solution | ||
10 | 5 | # Copyright (c) 2013 Servicios Baeza (http://www.serviciosbaeza.com/) All Rights Reserved. | ||
11 | 6 | # Pedro Manuel Baeza <pedro.baeza@gmail.com> | ||
12 | 7 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved. | ||
13 | 8 | # Ignacio Ibeas <ignacio@acysos.com> | ||
14 | 9 | # $Id$ | ||
15 | 10 | # | ||
16 | 11 | # This program is free software: you can redistribute it and/or modify | ||
17 | 12 | # it under the terms of the GNU General Public License as published by | ||
18 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
19 | 14 | # (at your option) any later version. | ||
20 | 15 | # | ||
21 | 16 | # This program is distributed in the hope that it will be useful, | ||
22 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | 19 | # GNU General Public License for more details. | ||
25 | 20 | # | ||
26 | 21 | # You should have received a copy of the GNU General Public License | ||
27 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
28 | 23 | # | ||
29 | 24 | ############################################################################## | ||
30 | 25 | |||
31 | 26 | import city | ||
32 | 27 | import partner | ||
33 | 28 | import country | ||
34 | 0 | \ No newline at end of file | 29 | \ No newline at end of file |
35 | 1 | 30 | ||
36 | === added file 'city/__openerp__.py' | |||
37 | --- city/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
38 | +++ city/__openerp__.py 2013-05-13 09:06:50 +0000 | |||
39 | @@ -0,0 +1,46 @@ | |||
40 | 1 | #!/usr/bin/env python | ||
41 | 2 | # -*- encoding: utf-8 -*- | ||
42 | 3 | ############################################################################## | ||
43 | 4 | # | ||
44 | 5 | # OpenERP, Open Source Management Solution | ||
45 | 6 | # Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved | ||
46 | 7 | # Copyright (c) 2013 Servicios Baeza (http://www.serviciosbaeza.com/) All Rights Reserved. | ||
47 | 8 | # Pedro Manuel Baeza <pedro.baeza@gmail.com> | ||
48 | 9 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved. | ||
49 | 10 | # Ignacio Ibeas <ignacio@acysos.com> | ||
50 | 11 | # $Id$ | ||
51 | 12 | # | ||
52 | 13 | # This program is free software: you can redistribute it and/or modify | ||
53 | 14 | # it under the terms of the GNU General Public License as published by | ||
54 | 15 | # the Free Software Foundation, either version 3 of the License, or | ||
55 | 16 | # (at your option) any later version. | ||
56 | 17 | # | ||
57 | 18 | # This program is distributed in the hope that it will be useful, | ||
58 | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
59 | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
60 | 21 | # GNU General Public License for more details. | ||
61 | 22 | # | ||
62 | 23 | # You should have received a copy of the GNU General Public License | ||
63 | 24 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
64 | 25 | # | ||
65 | 26 | ############################################################################## | ||
66 | 27 | { | ||
67 | 28 | "name" : "City-Helps to keep Homogeneous address data in the Database", | ||
68 | 29 | "version" : "2.0", | ||
69 | 30 | "author" : "Acysos S.L., Pedro Manuel Baeza, Pablo Rocandio", | ||
70 | 31 | "license" : "AGPL-3", | ||
71 | 32 | "category" : "Hidden", | ||
72 | 33 | "description": """Creates a model for storing cities | ||
73 | 34 | Zip code, city, state and country fields are replaced with a location field in partner and partner contact forms. | ||
74 | 35 | This module helps to keep homogeneous address data in the database.""", | ||
75 | 36 | "depends" : ["base"], | ||
76 | 37 | "init_xml" : [], | ||
77 | 38 | "update_xml" : [ | ||
78 | 39 | 'city_view.xml', | ||
79 | 40 | 'partner_view.xml', | ||
80 | 41 | 'country_view.xml', | ||
81 | 42 | 'security/ir.model.access.csv' | ||
82 | 43 | ], | ||
83 | 44 | "active": False, | ||
84 | 45 | "installable": True | ||
85 | 46 | } | ||
86 | 0 | 47 | ||
87 | === added file 'city/city.py' | |||
88 | --- city/city.py 1970-01-01 00:00:00 +0000 | |||
89 | +++ city/city.py 2013-05-13 09:06:50 +0000 | |||
90 | @@ -0,0 +1,70 @@ | |||
91 | 1 | # -*- encoding: utf-8 -*- | ||
92 | 2 | ############################################################################## | ||
93 | 3 | # | ||
94 | 4 | # OpenERP, Open Source Management Solution | ||
95 | 5 | # Copyright (c) 2013 Servicios Baeza (http://www.serviciosbaeza.com/) All Rights Reserved. | ||
96 | 6 | # Pedro Manuel Baeza <pedro.baeza@gmail.com> | ||
97 | 7 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved. | ||
98 | 8 | # Ignacio Ibeas <ignacio@acysos.com> | ||
99 | 9 | # $Id$ | ||
100 | 10 | # | ||
101 | 11 | # This program is free software: you can redistribute it and/or modify | ||
102 | 12 | # it under the terms of the GNU General Public License as published by | ||
103 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
104 | 14 | # (at your option) any later version. | ||
105 | 15 | # | ||
106 | 16 | # This program is distributed in the hope that it will be useful, | ||
107 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
108 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
109 | 19 | # GNU General Public License for more details. | ||
110 | 20 | # | ||
111 | 21 | # You should have received a copy of the GNU General Public License | ||
112 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
113 | 23 | # | ||
114 | 24 | ############################################################################## | ||
115 | 25 | |||
116 | 26 | from osv import osv, fields | ||
117 | 27 | import wizard | ||
118 | 28 | import pooler | ||
119 | 29 | |||
120 | 30 | class city(osv.osv): | ||
121 | 31 | |||
122 | 32 | def name_get(self, cr, uid, ids, context=None): | ||
123 | 33 | if not len(ids): | ||
124 | 34 | return [] | ||
125 | 35 | res = [] | ||
126 | 36 | for line in self.browse(cr, uid, ids, context=context): | ||
127 | 37 | name = line.name | ||
128 | 38 | if line.zip: | ||
129 | 39 | name = "%s %s" % (line.zip, name) | ||
130 | 40 | if line.state_id: | ||
131 | 41 | name = "%s, %s" % (name, line.state_id.name) | ||
132 | 42 | if line.country_id: | ||
133 | 43 | name = "%s, %s" % (name, line.country_id.name) | ||
134 | 44 | res.append((line['id'], name)) | ||
135 | 45 | return res | ||
136 | 46 | |||
137 | 47 | def name_search(self, cr, uid, name, args=None, operator='ilike', context=None, limit=100): | ||
138 | 48 | if args is None: | ||
139 | 49 | args = [] | ||
140 | 50 | if context is None: | ||
141 | 51 | context = {} | ||
142 | 52 | ids = [] | ||
143 | 53 | if name: | ||
144 | 54 | ids = self.search(cr, uid, [('zip', 'ilike', name)]+ args, limit=limit) | ||
145 | 55 | if not ids: | ||
146 | 56 | ids = self.search(cr, uid, [('name', operator, name)]+ args, limit=limit) | ||
147 | 57 | return self.name_get(cr, uid, ids, context=context) | ||
148 | 58 | |||
149 | 59 | _name = 'city.city' | ||
150 | 60 | _description = 'City' | ||
151 | 61 | _columns = { | ||
152 | 62 | 'state_id': fields.many2one('res.country.state', 'State', | ||
153 | 63 | domain="[('country_id','=',country_id)]", select=1), | ||
154 | 64 | 'name': fields.char('City', size=64, required=True, select=1), | ||
155 | 65 | 'zip': fields.char('ZIP', size=64, required=True, select=1), | ||
156 | 66 | 'country_id': fields.many2one('res.country', 'Country', select=1), | ||
157 | 67 | 'code': fields.char('City Code', size=64, | ||
158 | 68 | help="The official code for the city"), | ||
159 | 69 | } | ||
160 | 70 | city() | ||
161 | 0 | 71 | ||
162 | === added file 'city/city_view.xml' | |||
163 | --- city/city_view.xml 1970-01-01 00:00:00 +0000 | |||
164 | +++ city/city_view.xml 2013-05-13 09:06:50 +0000 | |||
165 | @@ -0,0 +1,45 @@ | |||
166 | 1 | <?xml version="1.0"?> | ||
167 | 2 | <openerp> | ||
168 | 3 | <data> | ||
169 | 4 | |||
170 | 5 | <!-- City --> | ||
171 | 6 | <record model="ir.ui.view" id="view_city_tree"> | ||
172 | 7 | <field name="name">city.city.tree</field> | ||
173 | 8 | <field name="model">city.city</field> | ||
174 | 9 | <field name="type">tree</field> | ||
175 | 10 | <field name="arch" type="xml"> | ||
176 | 11 | <tree string="City"> | ||
177 | 12 | <field name="zip"/> | ||
178 | 13 | <field name="name"/> | ||
179 | 14 | <field name="state_id"/> | ||
180 | 15 | <field name="country_id"/> | ||
181 | 16 | </tree> | ||
182 | 17 | </field> | ||
183 | 18 | </record> | ||
184 | 19 | |||
185 | 20 | <record model="ir.ui.view" id="view_city_form"> | ||
186 | 21 | <field name="name">city.city.form</field> | ||
187 | 22 | <field name="model">city.city</field> | ||
188 | 23 | <field name="type">form</field> | ||
189 | 24 | <field name="arch" type="xml"> | ||
190 | 25 | <form string="City"> | ||
191 | 26 | <field name="zip" select="1"/> | ||
192 | 27 | <field name="name" select="1"/> | ||
193 | 28 | <field name="country_id" /> | ||
194 | 29 | <field name="state_id" select="1"/> | ||
195 | 30 | <field name="code" select="2"/> | ||
196 | 31 | </form> | ||
197 | 32 | </field> | ||
198 | 33 | </record> | ||
199 | 34 | |||
200 | 35 | <record model="ir.actions.act_window" id="action_city"> | ||
201 | 36 | <field name="name">City</field> | ||
202 | 37 | <field name="type">ir.actions.act_window</field> | ||
203 | 38 | <field name="res_model">city.city</field> | ||
204 | 39 | <field name="view_type">form</field> | ||
205 | 40 | </record> | ||
206 | 41 | |||
207 | 42 | <menuitem name="Cities" groups="base.group_system" action="action_city" parent="base.menu_localisation" id="menu_city_partner"/> | ||
208 | 43 | |||
209 | 44 | </data> | ||
210 | 45 | </openerp> | ||
211 | 0 | 46 | ||
212 | === added file 'city/country.py' | |||
213 | --- city/country.py 1970-01-01 00:00:00 +0000 | |||
214 | +++ city/country.py 2013-05-13 09:06:50 +0000 | |||
215 | @@ -0,0 +1,35 @@ | |||
216 | 1 | # -*- encoding: utf-8 -*- | ||
217 | 2 | ############################################################################## | ||
218 | 3 | # | ||
219 | 4 | # OpenERP, Open Source Management Solution | ||
220 | 5 | # Copyright (c) 2013 Servicios Baeza (http://www.serviciosbaeza.com/) All Rights Reserved. | ||
221 | 6 | # Pedro Manuel Baeza <pedro.baeza@gmail.com> | ||
222 | 7 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved. | ||
223 | 8 | # Ignacio Ibeas <ignacio@acysos.com> | ||
224 | 9 | # $Id$ | ||
225 | 10 | # | ||
226 | 11 | # This program is free software: you can redistribute it and/or modify | ||
227 | 12 | # it under the terms of the GNU General Public License as published by | ||
228 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
229 | 14 | # (at your option) any later version. | ||
230 | 15 | # | ||
231 | 16 | # This program is distributed in the hope that it will be useful, | ||
232 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
233 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
234 | 19 | # GNU General Public License for more details. | ||
235 | 20 | # | ||
236 | 21 | # You should have received a copy of the GNU General Public License | ||
237 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
238 | 23 | # | ||
239 | 24 | ############################################################################## | ||
240 | 25 | |||
241 | 26 | from osv import osv, fields | ||
242 | 27 | import wizard | ||
243 | 28 | import pooler | ||
244 | 29 | |||
245 | 30 | class CountryState(osv.osv): | ||
246 | 31 | _inherit = 'res.country.state' | ||
247 | 32 | _columns = { | ||
248 | 33 | 'city_ids': fields.one2many('city.city', 'state_id', 'Cities'), | ||
249 | 34 | } | ||
250 | 35 | CountryState() | ||
251 | 0 | \ No newline at end of file | 36 | \ No newline at end of file |
252 | 1 | 37 | ||
253 | === added file 'city/country_view.xml' | |||
254 | --- city/country_view.xml 1970-01-01 00:00:00 +0000 | |||
255 | +++ city/country_view.xml 2013-05-13 09:06:50 +0000 | |||
256 | @@ -0,0 +1,16 @@ | |||
257 | 1 | <?xml version="1.0"?> | ||
258 | 2 | <openerp> | ||
259 | 3 | <data> | ||
260 | 4 | <!-- Add cities to the State form --> | ||
261 | 5 | <record model="ir.ui.view" id="view_country_state_form2"> | ||
262 | 6 | <field name="name">view_country_state_form2</field> | ||
263 | 7 | <field name="model">res.country.state</field> | ||
264 | 8 | <field name="inherit_id" ref="base.view_country_state_form"/> | ||
265 | 9 | <field name="arch" type="xml"> | ||
266 | 10 | <field name="code" position="after"> | ||
267 | 11 | <field name="city_ids" colspan="4" nolabel="1" widget="one2many_list"/> | ||
268 | 12 | </field> | ||
269 | 13 | </field> | ||
270 | 14 | </record> | ||
271 | 15 | </data> | ||
272 | 16 | </openerp> | ||
273 | 0 | \ No newline at end of file | 17 | \ No newline at end of file |
274 | 1 | 18 | ||
275 | === added directory 'city/i18n' | |||
276 | === added file 'city/i18n/bg.po' | |||
277 | --- city/i18n/bg.po 1970-01-01 00:00:00 +0000 | |||
278 | +++ city/i18n/bg.po 2013-05-13 09:06:50 +0000 | |||
279 | @@ -0,0 +1,88 @@ | |||
280 | 1 | # Bulgarian translation for openobject-addons | ||
281 | 2 | # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 | ||
282 | 3 | # This file is distributed under the same license as the openobject-addons package. | ||
283 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | ||
284 | 5 | # | ||
285 | 6 | msgid "" | ||
286 | 7 | msgstr "" | ||
287 | 8 | "Project-Id-Version: openobject-addons\n" | ||
288 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
289 | 10 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
290 | 11 | "PO-Revision-Date: 2011-02-26 10:06+0000\n" | ||
291 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
292 | 13 | "Language-Team: Bulgarian <bg@li.org>\n" | ||
293 | 14 | "MIME-Version: 1.0\n" | ||
294 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
295 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
296 | 17 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
297 | 18 | "X-Generator: Launchpad (build 16218)\n" | ||
298 | 19 | |||
299 | 20 | #. module: city | ||
300 | 21 | #: view:city.city:0 | ||
301 | 22 | #: model:ir.actions.act_window,name:city.action_city | ||
302 | 23 | #: model:ir.model,name:city.model_city_city | ||
303 | 24 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
304 | 25 | msgid "City" | ||
305 | 26 | msgstr "Град" | ||
306 | 27 | |||
307 | 28 | #. module: city | ||
308 | 29 | #: constraint:ir.ui.view:0 | ||
309 | 30 | msgid "Invalid XML for View Architecture!" | ||
310 | 31 | msgstr "" | ||
311 | 32 | |||
312 | 33 | #. module: city | ||
313 | 34 | #: constraint:ir.model:0 | ||
314 | 35 | msgid "" | ||
315 | 36 | "The Object name must start with x_ and not contain any special character !" | ||
316 | 37 | msgstr "" | ||
317 | 38 | "Името на обекта трябва да започва с x_ и не може да никакви специални знаци !" | ||
318 | 39 | |||
319 | 40 | #. module: city | ||
320 | 41 | #: field:city.city,zip:0 | ||
321 | 42 | msgid "ZIP" | ||
322 | 43 | msgstr "" | ||
323 | 44 | |||
324 | 45 | #. module: city | ||
325 | 46 | #: field:city.city,state_id:0 | ||
326 | 47 | msgid "State" | ||
327 | 48 | msgstr "Област" | ||
328 | 49 | |||
329 | 50 | #. module: city | ||
330 | 51 | #: field:city.city,country_id:0 | ||
331 | 52 | msgid "Country" | ||
332 | 53 | msgstr "Държава" | ||
333 | 54 | |||
334 | 55 | #. module: city | ||
335 | 56 | #: field:city.city,code:0 | ||
336 | 57 | msgid "City Code" | ||
337 | 58 | msgstr "Код на града" | ||
338 | 59 | |||
339 | 60 | #. module: city | ||
340 | 61 | #: model:ir.module.module,description:city.module_meta_information | ||
341 | 62 | msgid "" | ||
342 | 63 | "Creates a model for storing cities\n" | ||
343 | 64 | "Zip code, city, state and country fields are replaced with a location field " | ||
344 | 65 | "in partner and partner contact forms.\n" | ||
345 | 66 | "This module helps to keep homogeneous address data in the database." | ||
346 | 67 | msgstr "" | ||
347 | 68 | |||
348 | 69 | #. module: city | ||
349 | 70 | #: field:city.city,name:0 | ||
350 | 71 | msgid "City Name" | ||
351 | 72 | msgstr "Име на град" | ||
352 | 73 | |||
353 | 74 | #. module: city | ||
354 | 75 | #: field:res.partner.address,city_id:0 | ||
355 | 76 | msgid "Location" | ||
356 | 77 | msgstr "Местоположение" | ||
357 | 78 | |||
358 | 79 | #. module: city | ||
359 | 80 | #: help:city.city,code:0 | ||
360 | 81 | msgid "The official code for the city" | ||
361 | 82 | msgstr "" | ||
362 | 83 | |||
363 | 84 | #. module: city | ||
364 | 85 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
365 | 86 | #: field:res.country.state,city_ids:0 | ||
366 | 87 | msgid "Cities" | ||
367 | 88 | msgstr "Градове" | ||
368 | 0 | 89 | ||
369 | === added file 'city/i18n/ca.po' | |||
370 | --- city/i18n/ca.po 1970-01-01 00:00:00 +0000 | |||
371 | +++ city/i18n/ca.po 2013-05-13 09:06:50 +0000 | |||
372 | @@ -0,0 +1,94 @@ | |||
373 | 1 | # Translation of OpenERP Server. | ||
374 | 2 | # This file containt the translation of the following modules: | ||
375 | 3 | # * city | ||
376 | 4 | # | ||
377 | 5 | msgid "" | ||
378 | 6 | msgstr "" | ||
379 | 7 | "Project-Id-Version: OpenERP Server 5.0.0-alpha\n" | ||
380 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
381 | 9 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
382 | 10 | "PO-Revision-Date: 2010-01-19 05:17+0000\n" | ||
383 | 11 | "Last-Translator: Jordi Esteve (www.zikzakmedia.com) " | ||
384 | 12 | "<jesteve@zikzakmedia.com>\n" | ||
385 | 13 | "Language-Team: \n" | ||
386 | 14 | "MIME-Version: 1.0\n" | ||
387 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
388 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
389 | 17 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
390 | 18 | "X-Generator: Launchpad (build 16218)\n" | ||
391 | 19 | |||
392 | 20 | #. module: city | ||
393 | 21 | #: view:city.city:0 | ||
394 | 22 | #: model:ir.actions.act_window,name:city.action_city | ||
395 | 23 | #: model:ir.model,name:city.model_city_city | ||
396 | 24 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
397 | 25 | msgid "City" | ||
398 | 26 | msgstr "Ciutat" | ||
399 | 27 | |||
400 | 28 | #. module: city | ||
401 | 29 | #: constraint:ir.ui.view:0 | ||
402 | 30 | msgid "Invalid XML for View Architecture!" | ||
403 | 31 | msgstr "XML no vàlid per a la definició de la vista!" | ||
404 | 32 | |||
405 | 33 | #. module: city | ||
406 | 34 | #: constraint:ir.model:0 | ||
407 | 35 | msgid "" | ||
408 | 36 | "The Object name must start with x_ and not contain any special character !" | ||
409 | 37 | msgstr "" | ||
410 | 38 | "El nom de l'objecte ha de començar amb x_ i no contenir cap caràcter " | ||
411 | 39 | "especial !" | ||
412 | 40 | |||
413 | 41 | #. module: city | ||
414 | 42 | #: field:city.city,zip:0 | ||
415 | 43 | msgid "ZIP" | ||
416 | 44 | msgstr "Codi postal" | ||
417 | 45 | |||
418 | 46 | #. module: city | ||
419 | 47 | #: field:city.city,state_id:0 | ||
420 | 48 | msgid "State" | ||
421 | 49 | msgstr "Província" | ||
422 | 50 | |||
423 | 51 | #. module: city | ||
424 | 52 | #: field:city.city,country_id:0 | ||
425 | 53 | msgid "Country" | ||
426 | 54 | msgstr "País" | ||
427 | 55 | |||
428 | 56 | #. module: city | ||
429 | 57 | #: field:city.city,code:0 | ||
430 | 58 | msgid "City Code" | ||
431 | 59 | msgstr "Codi de ciutat" | ||
432 | 60 | |||
433 | 61 | #. module: city | ||
434 | 62 | #: model:ir.module.module,description:city.module_meta_information | ||
435 | 63 | msgid "" | ||
436 | 64 | "Creates a model for storing cities\n" | ||
437 | 65 | "Zip code, city, state and country fields are replaced with a location field " | ||
438 | 66 | "in partner and partner contact forms.\n" | ||
439 | 67 | "This module helps to keep homogeneous address data in the database." | ||
440 | 68 | msgstr "" | ||
441 | 69 | "Crea un model per emmagatzemar ciutats.\n" | ||
442 | 70 | "Els camps de codi postal, província i país són reemplaçats amb un camp de " | ||
443 | 71 | "localització en els formularis d'empresa i contacte/adreça d'empresa.\n" | ||
444 | 72 | "Aquest mòdul ajuda a mantenir informació homogènia d'adreces a la base de " | ||
445 | 73 | "dades." | ||
446 | 74 | |||
447 | 75 | #. module: city | ||
448 | 76 | #: field:city.city,name:0 | ||
449 | 77 | msgid "City Name" | ||
450 | 78 | msgstr "Nom de la ciutat" | ||
451 | 79 | |||
452 | 80 | #. module: city | ||
453 | 81 | #: field:res.partner.address,city_id:0 | ||
454 | 82 | msgid "Location" | ||
455 | 83 | msgstr "Ubicació" | ||
456 | 84 | |||
457 | 85 | #. module: city | ||
458 | 86 | #: help:city.city,code:0 | ||
459 | 87 | msgid "The official code for the city" | ||
460 | 88 | msgstr "El codi oficial de la ciutat." | ||
461 | 89 | |||
462 | 90 | #. module: city | ||
463 | 91 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
464 | 92 | #: field:res.country.state,city_ids:0 | ||
465 | 93 | msgid "Cities" | ||
466 | 94 | msgstr "Ciutats" | ||
467 | 0 | 95 | ||
468 | === added file 'city/i18n/city.pot' | |||
469 | --- city/i18n/city.pot 1970-01-01 00:00:00 +0000 | |||
470 | +++ city/i18n/city.pot 2013-05-13 09:06:50 +0000 | |||
471 | @@ -0,0 +1,76 @@ | |||
472 | 1 | # Translation of OpenERP Server. | ||
473 | 2 | # This file contains the translation of the following modules: | ||
474 | 3 | # * city | ||
475 | 4 | # | ||
476 | 5 | msgid "" | ||
477 | 6 | msgstr "" | ||
478 | 7 | "Project-Id-Version: OpenERP Server 6.0.4\n" | ||
479 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
480 | 9 | "POT-Creation-Date: 2013-04-30 12:00+0000\n" | ||
481 | 10 | "PO-Revision-Date: 2013-04-30 12:00+0000\n" | ||
482 | 11 | "Last-Translator: <>\n" | ||
483 | 12 | "Language-Team: \n" | ||
484 | 13 | "MIME-Version: 1.0\n" | ||
485 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
486 | 15 | "Content-Transfer-Encoding: \n" | ||
487 | 16 | "Plural-Forms: \n" | ||
488 | 17 | |||
489 | 18 | #. module: city | ||
490 | 19 | #: view:city.city:0 | ||
491 | 20 | #: field:city.city,name:0 | ||
492 | 21 | #: model:ir.actions.act_window,name:city.action_city | ||
493 | 22 | #: model:ir.model,name:city.model_city_city | ||
494 | 23 | msgid "City" | ||
495 | 24 | msgstr "" | ||
496 | 25 | |||
497 | 26 | #. module: city | ||
498 | 27 | #: model:ir.model,name:city.model_res_partner_address | ||
499 | 28 | msgid "Partner Addresses" | ||
500 | 29 | msgstr "" | ||
501 | 30 | |||
502 | 31 | #. module: city | ||
503 | 32 | #: field:city.city,zip:0 | ||
504 | 33 | msgid "ZIP" | ||
505 | 34 | msgstr "" | ||
506 | 35 | |||
507 | 36 | #. module: city | ||
508 | 37 | #: field:city.city,country_id:0 | ||
509 | 38 | msgid "Country" | ||
510 | 39 | msgstr "" | ||
511 | 40 | |||
512 | 41 | #. module: city | ||
513 | 42 | #: help:res.partner.address,location:0 | ||
514 | 43 | msgid "Use the name or the zip to search the location" | ||
515 | 44 | msgstr "" | ||
516 | 45 | |||
517 | 46 | #. module: city | ||
518 | 47 | #: field:city.city,code:0 | ||
519 | 48 | msgid "City Code" | ||
520 | 49 | msgstr "" | ||
521 | 50 | |||
522 | 51 | #. module: city | ||
523 | 52 | #: field:city.city,state_id:0 | ||
524 | 53 | msgid "State" | ||
525 | 54 | msgstr "" | ||
526 | 55 | |||
527 | 56 | #. module: city | ||
528 | 57 | #: field:res.partner.address,location:0 | ||
529 | 58 | msgid "Location" | ||
530 | 59 | msgstr "" | ||
531 | 60 | |||
532 | 61 | #. module: city | ||
533 | 62 | #: help:city.city,code:0 | ||
534 | 63 | msgid "The official code for the city" | ||
535 | 64 | msgstr "" | ||
536 | 65 | |||
537 | 66 | #. module: city | ||
538 | 67 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
539 | 68 | #: field:res.country.state,city_ids:0 | ||
540 | 69 | msgid "Cities" | ||
541 | 70 | msgstr "" | ||
542 | 71 | |||
543 | 72 | #. module: city | ||
544 | 73 | #: model:ir.model,name:city.model_res_country_state | ||
545 | 74 | msgid "Country state" | ||
546 | 75 | msgstr "" | ||
547 | 76 | |||
548 | 0 | 77 | ||
549 | === added file 'city/i18n/es.po' | |||
550 | --- city/i18n/es.po 1970-01-01 00:00:00 +0000 | |||
551 | +++ city/i18n/es.po 2013-05-13 09:06:50 +0000 | |||
552 | @@ -0,0 +1,76 @@ | |||
553 | 1 | # Translation of OpenERP Server. | ||
554 | 2 | # This file contains the translation of the following modules: | ||
555 | 3 | # * city | ||
556 | 4 | # | ||
557 | 5 | msgid "" | ||
558 | 6 | msgstr "" | ||
559 | 7 | "Project-Id-Version: OpenERP Server 6.0.4\n" | ||
560 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
561 | 9 | "POT-Creation-Date: 2013-04-30 12:01+0000\n" | ||
562 | 10 | "PO-Revision-Date: 2013-04-30 12:01+0000\n" | ||
563 | 11 | "Last-Translator: <>\n" | ||
564 | 12 | "Language-Team: \n" | ||
565 | 13 | "MIME-Version: 1.0\n" | ||
566 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
567 | 15 | "Content-Transfer-Encoding: \n" | ||
568 | 16 | "Plural-Forms: \n" | ||
569 | 17 | |||
570 | 18 | #. module: city | ||
571 | 19 | #: view:city.city:0 | ||
572 | 20 | #: field:city.city,name:0 | ||
573 | 21 | #: model:ir.actions.act_window,name:city.action_city | ||
574 | 22 | #: model:ir.model,name:city.model_city_city | ||
575 | 23 | msgid "City" | ||
576 | 24 | msgstr "Ciudad" | ||
577 | 25 | |||
578 | 26 | #. module: city | ||
579 | 27 | #: model:ir.model,name:city.model_res_partner_address | ||
580 | 28 | msgid "Partner Addresses" | ||
581 | 29 | msgstr "Direcciones de empresa" | ||
582 | 30 | |||
583 | 31 | #. module: city | ||
584 | 32 | #: field:city.city,zip:0 | ||
585 | 33 | msgid "ZIP" | ||
586 | 34 | msgstr "Código postal" | ||
587 | 35 | |||
588 | 36 | #. module: city | ||
589 | 37 | #: field:city.city,country_id:0 | ||
590 | 38 | msgid "Country" | ||
591 | 39 | msgstr "País" | ||
592 | 40 | |||
593 | 41 | #. module: city | ||
594 | 42 | #: help:res.partner.address,location:0 | ||
595 | 43 | msgid "Use the name or the zip to search the location" | ||
596 | 44 | msgstr "Utilice el nombre o el código postal para buscar la localización" | ||
597 | 45 | |||
598 | 46 | #. module: city | ||
599 | 47 | #: field:city.city,code:0 | ||
600 | 48 | msgid "City Code" | ||
601 | 49 | msgstr "Código de ciudad" | ||
602 | 50 | |||
603 | 51 | #. module: city | ||
604 | 52 | #: field:city.city,state_id:0 | ||
605 | 53 | msgid "State" | ||
606 | 54 | msgstr "Provincia" | ||
607 | 55 | |||
608 | 56 | #. module: city | ||
609 | 57 | #: field:res.partner.address,location:0 | ||
610 | 58 | msgid "Location" | ||
611 | 59 | msgstr "Location" | ||
612 | 60 | |||
613 | 61 | #. module: city | ||
614 | 62 | #: help:city.city,code:0 | ||
615 | 63 | msgid "The official code for the city" | ||
616 | 64 | msgstr "Código oficial de la ciudad." | ||
617 | 65 | |||
618 | 66 | #. module: city | ||
619 | 67 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
620 | 68 | #: field:res.country.state,city_ids:0 | ||
621 | 69 | msgid "Cities" | ||
622 | 70 | msgstr "Ciudades" | ||
623 | 71 | |||
624 | 72 | #. module: city | ||
625 | 73 | #: model:ir.model,name:city.model_res_country_state | ||
626 | 74 | msgid "Country state" | ||
627 | 75 | msgstr "Provincia" | ||
628 | 76 | |||
629 | 0 | 77 | ||
630 | === added file 'city/i18n/fi.po' | |||
631 | --- city/i18n/fi.po 1970-01-01 00:00:00 +0000 | |||
632 | +++ city/i18n/fi.po 2013-05-13 09:06:50 +0000 | |||
633 | @@ -0,0 +1,88 @@ | |||
634 | 1 | # Finnish translation for openobject-addons | ||
635 | 2 | # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 | ||
636 | 3 | # This file is distributed under the same license as the openobject-addons package. | ||
637 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | ||
638 | 5 | # | ||
639 | 6 | msgid "" | ||
640 | 7 | msgstr "" | ||
641 | 8 | "Project-Id-Version: openobject-addons\n" | ||
642 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
643 | 10 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
644 | 11 | "PO-Revision-Date: 2011-06-28 06:58+0000\n" | ||
645 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
646 | 13 | "Language-Team: Finnish <fi@li.org>\n" | ||
647 | 14 | "MIME-Version: 1.0\n" | ||
648 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
649 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
650 | 17 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
651 | 18 | "X-Generator: Launchpad (build 16218)\n" | ||
652 | 19 | |||
653 | 20 | #. module: city | ||
654 | 21 | #: view:city.city:0 | ||
655 | 22 | #: model:ir.actions.act_window,name:city.action_city | ||
656 | 23 | #: model:ir.model,name:city.model_city_city | ||
657 | 24 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
658 | 25 | msgid "City" | ||
659 | 26 | msgstr "Kaupunki" | ||
660 | 27 | |||
661 | 28 | #. module: city | ||
662 | 29 | #: constraint:ir.ui.view:0 | ||
663 | 30 | msgid "Invalid XML for View Architecture!" | ||
664 | 31 | msgstr "Virheellinen XML näkymä-arkkitehtuurille!" | ||
665 | 32 | |||
666 | 33 | #. module: city | ||
667 | 34 | #: constraint:ir.model:0 | ||
668 | 35 | msgid "" | ||
669 | 36 | "The Object name must start with x_ and not contain any special character !" | ||
670 | 37 | msgstr "" | ||
671 | 38 | "Objektin nimi täytyy alkaa X_ eikä se saa sisältää mitää erikoismerkkejä!" | ||
672 | 39 | |||
673 | 40 | #. module: city | ||
674 | 41 | #: field:city.city,zip:0 | ||
675 | 42 | msgid "ZIP" | ||
676 | 43 | msgstr "Postinumero" | ||
677 | 44 | |||
678 | 45 | #. module: city | ||
679 | 46 | #: field:city.city,state_id:0 | ||
680 | 47 | msgid "State" | ||
681 | 48 | msgstr "Osavaltio" | ||
682 | 49 | |||
683 | 50 | #. module: city | ||
684 | 51 | #: field:city.city,country_id:0 | ||
685 | 52 | msgid "Country" | ||
686 | 53 | msgstr "Maa" | ||
687 | 54 | |||
688 | 55 | #. module: city | ||
689 | 56 | #: field:city.city,code:0 | ||
690 | 57 | msgid "City Code" | ||
691 | 58 | msgstr "Maakoodi" | ||
692 | 59 | |||
693 | 60 | #. module: city | ||
694 | 61 | #: model:ir.module.module,description:city.module_meta_information | ||
695 | 62 | msgid "" | ||
696 | 63 | "Creates a model for storing cities\n" | ||
697 | 64 | "Zip code, city, state and country fields are replaced with a location field " | ||
698 | 65 | "in partner and partner contact forms.\n" | ||
699 | 66 | "This module helps to keep homogeneous address data in the database." | ||
700 | 67 | msgstr "" | ||
701 | 68 | |||
702 | 69 | #. module: city | ||
703 | 70 | #: field:city.city,name:0 | ||
704 | 71 | msgid "City Name" | ||
705 | 72 | msgstr "Kaupungin nimi" | ||
706 | 73 | |||
707 | 74 | #. module: city | ||
708 | 75 | #: field:res.partner.address,city_id:0 | ||
709 | 76 | msgid "Location" | ||
710 | 77 | msgstr "Sijainti" | ||
711 | 78 | |||
712 | 79 | #. module: city | ||
713 | 80 | #: help:city.city,code:0 | ||
714 | 81 | msgid "The official code for the city" | ||
715 | 82 | msgstr "Kaupungin viralinen koodi" | ||
716 | 83 | |||
717 | 84 | #. module: city | ||
718 | 85 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
719 | 86 | #: field:res.country.state,city_ids:0 | ||
720 | 87 | msgid "Cities" | ||
721 | 88 | msgstr "Kaupungit" | ||
722 | 0 | 89 | ||
723 | === added file 'city/i18n/fr.po' | |||
724 | --- city/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
725 | +++ city/i18n/fr.po 2013-05-13 09:06:50 +0000 | |||
726 | @@ -0,0 +1,93 @@ | |||
727 | 1 | # Translation of OpenERP Server. | ||
728 | 2 | # This file contains the translation of the following modules: | ||
729 | 3 | # * city | ||
730 | 4 | # | ||
731 | 5 | msgid "" | ||
732 | 6 | msgstr "" | ||
733 | 7 | "Project-Id-Version: OpenERP Server 5.0.0\n" | ||
734 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
735 | 9 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
736 | 10 | "PO-Revision-Date: 2010-01-19 05:16+0000\n" | ||
737 | 11 | "Last-Translator: Numérigraphe <Unknown>\n" | ||
738 | 12 | "Language-Team: \n" | ||
739 | 13 | "MIME-Version: 1.0\n" | ||
740 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
741 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
742 | 16 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
743 | 17 | "X-Generator: Launchpad (build 16218)\n" | ||
744 | 18 | |||
745 | 19 | #. module: city | ||
746 | 20 | #: view:city.city:0 | ||
747 | 21 | #: model:ir.actions.act_window,name:city.action_city | ||
748 | 22 | #: model:ir.model,name:city.model_city_city | ||
749 | 23 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
750 | 24 | msgid "City" | ||
751 | 25 | msgstr "Ville" | ||
752 | 26 | |||
753 | 27 | #. module: city | ||
754 | 28 | #: constraint:ir.ui.view:0 | ||
755 | 29 | msgid "Invalid XML for View Architecture!" | ||
756 | 30 | msgstr "XML non valide pour l'architecture de la vue" | ||
757 | 31 | |||
758 | 32 | #. module: city | ||
759 | 33 | #: constraint:ir.model:0 | ||
760 | 34 | msgid "" | ||
761 | 35 | "The Object name must start with x_ and not contain any special character !" | ||
762 | 36 | msgstr "" | ||
763 | 37 | "Le nom de l'objet doit commencer avec x_ et ne pas contenir de charactères " | ||
764 | 38 | "spéciaux !" | ||
765 | 39 | |||
766 | 40 | #. module: city | ||
767 | 41 | #: field:city.city,zip:0 | ||
768 | 42 | msgid "ZIP" | ||
769 | 43 | msgstr "Code postal" | ||
770 | 44 | |||
771 | 45 | #. module: city | ||
772 | 46 | #: field:city.city,state_id:0 | ||
773 | 47 | msgid "State" | ||
774 | 48 | msgstr "État" | ||
775 | 49 | |||
776 | 50 | #. module: city | ||
777 | 51 | #: field:city.city,country_id:0 | ||
778 | 52 | msgid "Country" | ||
779 | 53 | msgstr "Pays" | ||
780 | 54 | |||
781 | 55 | #. module: city | ||
782 | 56 | #: field:city.city,code:0 | ||
783 | 57 | msgid "City Code" | ||
784 | 58 | msgstr "Code de la ville" | ||
785 | 59 | |||
786 | 60 | #. module: city | ||
787 | 61 | #: model:ir.module.module,description:city.module_meta_information | ||
788 | 62 | msgid "" | ||
789 | 63 | "Creates a model for storing cities\n" | ||
790 | 64 | "Zip code, city, state and country fields are replaced with a location field " | ||
791 | 65 | "in partner and partner contact forms.\n" | ||
792 | 66 | "This module helps to keep homogeneous address data in the database." | ||
793 | 67 | msgstr "" | ||
794 | 68 | "Crée un modèle de données pour les villes.\n" | ||
795 | 69 | "Les champs \"code postal\", \"ville\", \"état\" et \"pays\" sont remplacés " | ||
796 | 70 | "par un champ \"localisation\" dans les formulaires \"partenaire\" et " | ||
797 | 71 | "\"contacts du partenaire\".Ce module permet de conserver des données " | ||
798 | 72 | "d'adresse homogènes." | ||
799 | 73 | |||
800 | 74 | #. module: city | ||
801 | 75 | #: field:city.city,name:0 | ||
802 | 76 | msgid "City Name" | ||
803 | 77 | msgstr "Nom de la ville" | ||
804 | 78 | |||
805 | 79 | #. module: city | ||
806 | 80 | #: field:res.partner.address,city_id:0 | ||
807 | 81 | msgid "Location" | ||
808 | 82 | msgstr "Localisation" | ||
809 | 83 | |||
810 | 84 | #. module: city | ||
811 | 85 | #: help:city.city,code:0 | ||
812 | 86 | msgid "The official code for the city" | ||
813 | 87 | msgstr "Le code officiel de la ville" | ||
814 | 88 | |||
815 | 89 | #. module: city | ||
816 | 90 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
817 | 91 | #: field:res.country.state,city_ids:0 | ||
818 | 92 | msgid "Cities" | ||
819 | 93 | msgstr "Villes" | ||
820 | 0 | 94 | ||
821 | === added file 'city/i18n/fr_BE.po' | |||
822 | --- city/i18n/fr_BE.po 1970-01-01 00:00:00 +0000 | |||
823 | +++ city/i18n/fr_BE.po 2013-05-13 09:06:50 +0000 | |||
824 | @@ -0,0 +1,85 @@ | |||
825 | 1 | # Translation of OpenERP Server. | ||
826 | 2 | # This file contains the translation of the following modules: | ||
827 | 3 | # * city | ||
828 | 4 | # | ||
829 | 5 | msgid "" | ||
830 | 6 | msgstr "" | ||
831 | 7 | "Project-Id-Version: OpenERP Server 5.0.0\n" | ||
832 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
833 | 9 | "POT-Creation-Date: 2009-02-27 09:13:15+0000\n" | ||
834 | 10 | "PO-Revision-Date: 2009-02-27 10:22+0100\n" | ||
835 | 11 | "Last-Translator: Numerigraphe <informatique@numerigraphe.com>\n" | ||
836 | 12 | "Language-Team: \n" | ||
837 | 13 | "MIME-Version: 1.0\n" | ||
838 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
839 | 15 | "Content-Transfer-Encoding: \n" | ||
840 | 16 | "Plural-Forms: " | ||
841 | 17 | |||
842 | 18 | #. module: city | ||
843 | 19 | #: view:city.city:0 | ||
844 | 20 | #: model:ir.actions.act_window,name:city.action_city | ||
845 | 21 | #: model:ir.model,name:city.model_city_city | ||
846 | 22 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
847 | 23 | msgid "City" | ||
848 | 24 | msgstr "Ville" | ||
849 | 25 | |||
850 | 26 | #. module: city | ||
851 | 27 | #: constraint:ir.ui.view:0 | ||
852 | 28 | msgid "Invalid XML for View Architecture!" | ||
853 | 29 | msgstr "XML non valide pour l'architecture de la vue" | ||
854 | 30 | |||
855 | 31 | #. module: city | ||
856 | 32 | #: constraint:ir.model:0 | ||
857 | 33 | msgid "The Object name must start with x_ and not contain any special character !" | ||
858 | 34 | msgstr "Le nom de l'objet doit commencer avec x_ et ne pas contenir de charactères spéciaux !" | ||
859 | 35 | |||
860 | 36 | #. module: city | ||
861 | 37 | #: field:city.city,zip:0 | ||
862 | 38 | msgid "ZIP" | ||
863 | 39 | msgstr "Code postal" | ||
864 | 40 | |||
865 | 41 | #. module: city | ||
866 | 42 | #: field:city.city,state_id:0 | ||
867 | 43 | msgid "State" | ||
868 | 44 | msgstr "État" | ||
869 | 45 | |||
870 | 46 | #. module: city | ||
871 | 47 | #: field:city.city,country_id:0 | ||
872 | 48 | msgid "Country" | ||
873 | 49 | msgstr "Pays" | ||
874 | 50 | |||
875 | 51 | #. module: city | ||
876 | 52 | #: field:city.city,code:0 | ||
877 | 53 | msgid "City Code" | ||
878 | 54 | msgstr "Code de la ville" | ||
879 | 55 | |||
880 | 56 | #. module: city | ||
881 | 57 | #: model:ir.module.module,description:city.module_meta_information | ||
882 | 58 | msgid "Creates a model for storing cities\n" | ||
883 | 59 | "Zip code, city, state and country fields are replaced with a location field in partner and partner contact forms.\n" | ||
884 | 60 | "This module helps to keep homogeneous address data in the database." | ||
885 | 61 | msgstr "Crée un modèle de données pour les villes.\n" | ||
886 | 62 | "Les champs \"code postal\", \"ville\", \"état\" et \"pays\" sont remplacés par un champ \"localisation\" dans les formulaires \"partenaire\" et \"contacts du partenaire\"." | ||
887 | 63 | "Ce module permet de conserver des données d'adresse homogènes." | ||
888 | 64 | |||
889 | 65 | #. module: city | ||
890 | 66 | #: field:city.city,name:0 | ||
891 | 67 | msgid "City Name" | ||
892 | 68 | msgstr "Nom de la ville" | ||
893 | 69 | |||
894 | 70 | #. module: city | ||
895 | 71 | #: field:res.partner.address,city_id:0 | ||
896 | 72 | msgid "Location" | ||
897 | 73 | msgstr "Localisation" | ||
898 | 74 | |||
899 | 75 | #. module: city | ||
900 | 76 | #: help:city.city,code:0 | ||
901 | 77 | msgid "The official code for the city" | ||
902 | 78 | msgstr "Le code officiel de la ville" | ||
903 | 79 | |||
904 | 80 | #. module: city | ||
905 | 81 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
906 | 82 | #: field:res.country.state,city_ids:0 | ||
907 | 83 | msgid "Cities" | ||
908 | 84 | msgstr "Villes" | ||
909 | 85 | |||
910 | 0 | 86 | ||
911 | === added file 'city/i18n/ru.po' | |||
912 | --- city/i18n/ru.po 1970-01-01 00:00:00 +0000 | |||
913 | +++ city/i18n/ru.po 2013-05-13 09:06:50 +0000 | |||
914 | @@ -0,0 +1,89 @@ | |||
915 | 1 | # Russian translation for openobject-addons | ||
916 | 2 | # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 | ||
917 | 3 | # This file is distributed under the same license as the openobject-addons package. | ||
918 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | ||
919 | 5 | # | ||
920 | 6 | msgid "" | ||
921 | 7 | msgstr "" | ||
922 | 8 | "Project-Id-Version: openobject-addons\n" | ||
923 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
924 | 10 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
925 | 11 | "PO-Revision-Date: 2011-03-30 17:03+0000\n" | ||
926 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
927 | 13 | "Language-Team: Russian <ru@li.org>\n" | ||
928 | 14 | "MIME-Version: 1.0\n" | ||
929 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
930 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
931 | 17 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
932 | 18 | "X-Generator: Launchpad (build 16218)\n" | ||
933 | 19 | |||
934 | 20 | #. module: city | ||
935 | 21 | #: view:city.city:0 | ||
936 | 22 | #: model:ir.actions.act_window,name:city.action_city | ||
937 | 23 | #: model:ir.model,name:city.model_city_city | ||
938 | 24 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
939 | 25 | msgid "City" | ||
940 | 26 | msgstr "Город" | ||
941 | 27 | |||
942 | 28 | #. module: city | ||
943 | 29 | #: constraint:ir.ui.view:0 | ||
944 | 30 | msgid "Invalid XML for View Architecture!" | ||
945 | 31 | msgstr "Неправильный XML для просмотра структуры!" | ||
946 | 32 | |||
947 | 33 | #. module: city | ||
948 | 34 | #: constraint:ir.model:0 | ||
949 | 35 | msgid "" | ||
950 | 36 | "The Object name must start with x_ and not contain any special character !" | ||
951 | 37 | msgstr "" | ||
952 | 38 | "Имя Объекта должно начинаться с x_ и не должно содержать специальных " | ||
953 | 39 | "символов!" | ||
954 | 40 | |||
955 | 41 | #. module: city | ||
956 | 42 | #: field:city.city,zip:0 | ||
957 | 43 | msgid "ZIP" | ||
958 | 44 | msgstr "Почтовый индекс" | ||
959 | 45 | |||
960 | 46 | #. module: city | ||
961 | 47 | #: field:city.city,state_id:0 | ||
962 | 48 | msgid "State" | ||
963 | 49 | msgstr "Область/штат" | ||
964 | 50 | |||
965 | 51 | #. module: city | ||
966 | 52 | #: field:city.city,country_id:0 | ||
967 | 53 | msgid "Country" | ||
968 | 54 | msgstr "Страна" | ||
969 | 55 | |||
970 | 56 | #. module: city | ||
971 | 57 | #: field:city.city,code:0 | ||
972 | 58 | msgid "City Code" | ||
973 | 59 | msgstr "Код города" | ||
974 | 60 | |||
975 | 61 | #. module: city | ||
976 | 62 | #: model:ir.module.module,description:city.module_meta_information | ||
977 | 63 | msgid "" | ||
978 | 64 | "Creates a model for storing cities\n" | ||
979 | 65 | "Zip code, city, state and country fields are replaced with a location field " | ||
980 | 66 | "in partner and partner contact forms.\n" | ||
981 | 67 | "This module helps to keep homogeneous address data in the database." | ||
982 | 68 | msgstr "" | ||
983 | 69 | |||
984 | 70 | #. module: city | ||
985 | 71 | #: field:city.city,name:0 | ||
986 | 72 | msgid "City Name" | ||
987 | 73 | msgstr "Название города" | ||
988 | 74 | |||
989 | 75 | #. module: city | ||
990 | 76 | #: field:res.partner.address,city_id:0 | ||
991 | 77 | msgid "Location" | ||
992 | 78 | msgstr "Расположение" | ||
993 | 79 | |||
994 | 80 | #. module: city | ||
995 | 81 | #: help:city.city,code:0 | ||
996 | 82 | msgid "The official code for the city" | ||
997 | 83 | msgstr "Официальный код для города" | ||
998 | 84 | |||
999 | 85 | #. module: city | ||
1000 | 86 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
1001 | 87 | #: field:res.country.state,city_ids:0 | ||
1002 | 88 | msgid "Cities" | ||
1003 | 89 | msgstr "Города" | ||
1004 | 0 | 90 | ||
1005 | === added file 'city/i18n/sv.po' | |||
1006 | --- city/i18n/sv.po 1970-01-01 00:00:00 +0000 | |||
1007 | +++ city/i18n/sv.po 2013-05-13 09:06:50 +0000 | |||
1008 | @@ -0,0 +1,86 @@ | |||
1009 | 1 | # Translation of OpenERP Server. | ||
1010 | 2 | # This file contains the translation of the following modules: | ||
1011 | 3 | # * city | ||
1012 | 4 | # | ||
1013 | 5 | msgid "" | ||
1014 | 6 | msgstr "" | ||
1015 | 7 | "Project-Id-Version: OpenERP Server 5.0.14\n" | ||
1016 | 8 | "Report-Msgid-Bugs-To: support@openerp.com\n" | ||
1017 | 9 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
1018 | 10 | "PO-Revision-Date: 2011-01-14 14:52+0000\n" | ||
1019 | 11 | "Last-Translator: Magnus Brandt (mba), Aspirix AB <Unknown>\n" | ||
1020 | 12 | "Language-Team: \n" | ||
1021 | 13 | "MIME-Version: 1.0\n" | ||
1022 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
1023 | 15 | "Content-Transfer-Encoding: 8bit\n" | ||
1024 | 16 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
1025 | 17 | "X-Generator: Launchpad (build 16218)\n" | ||
1026 | 18 | |||
1027 | 19 | #. module: city | ||
1028 | 20 | #: view:city.city:0 | ||
1029 | 21 | #: model:ir.actions.act_window,name:city.action_city | ||
1030 | 22 | #: model:ir.model,name:city.model_city_city | ||
1031 | 23 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
1032 | 24 | msgid "City" | ||
1033 | 25 | msgstr "Stad" | ||
1034 | 26 | |||
1035 | 27 | #. module: city | ||
1036 | 28 | #: constraint:ir.ui.view:0 | ||
1037 | 29 | msgid "Invalid XML for View Architecture!" | ||
1038 | 30 | msgstr "Ogiltig XML för Vy-arkitektur!" | ||
1039 | 31 | |||
1040 | 32 | #. module: city | ||
1041 | 33 | #: constraint:ir.model:0 | ||
1042 | 34 | msgid "" | ||
1043 | 35 | "The Object name must start with x_ and not contain any special character !" | ||
1044 | 36 | msgstr "" | ||
1045 | 37 | |||
1046 | 38 | #. module: city | ||
1047 | 39 | #: field:city.city,zip:0 | ||
1048 | 40 | msgid "ZIP" | ||
1049 | 41 | msgstr "Postnummer" | ||
1050 | 42 | |||
1051 | 43 | #. module: city | ||
1052 | 44 | #: field:city.city,state_id:0 | ||
1053 | 45 | msgid "State" | ||
1054 | 46 | msgstr "" | ||
1055 | 47 | |||
1056 | 48 | #. module: city | ||
1057 | 49 | #: field:city.city,country_id:0 | ||
1058 | 50 | msgid "Country" | ||
1059 | 51 | msgstr "Land" | ||
1060 | 52 | |||
1061 | 53 | #. module: city | ||
1062 | 54 | #: field:city.city,code:0 | ||
1063 | 55 | msgid "City Code" | ||
1064 | 56 | msgstr "" | ||
1065 | 57 | |||
1066 | 58 | #. module: city | ||
1067 | 59 | #: model:ir.module.module,description:city.module_meta_information | ||
1068 | 60 | msgid "" | ||
1069 | 61 | "Creates a model for storing cities\n" | ||
1070 | 62 | "Zip code, city, state and country fields are replaced with a location field " | ||
1071 | 63 | "in partner and partner contact forms.\n" | ||
1072 | 64 | "This module helps to keep homogeneous address data in the database." | ||
1073 | 65 | msgstr "" | ||
1074 | 66 | |||
1075 | 67 | #. module: city | ||
1076 | 68 | #: field:city.city,name:0 | ||
1077 | 69 | msgid "City Name" | ||
1078 | 70 | msgstr "Stadens namn" | ||
1079 | 71 | |||
1080 | 72 | #. module: city | ||
1081 | 73 | #: field:res.partner.address,city_id:0 | ||
1082 | 74 | msgid "Location" | ||
1083 | 75 | msgstr "Plats" | ||
1084 | 76 | |||
1085 | 77 | #. module: city | ||
1086 | 78 | #: help:city.city,code:0 | ||
1087 | 79 | msgid "The official code for the city" | ||
1088 | 80 | msgstr "" | ||
1089 | 81 | |||
1090 | 82 | #. module: city | ||
1091 | 83 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
1092 | 84 | #: field:res.country.state,city_ids:0 | ||
1093 | 85 | msgid "Cities" | ||
1094 | 86 | msgstr "Städer" | ||
1095 | 0 | 87 | ||
1096 | === added file 'city/i18n/vi.po' | |||
1097 | --- city/i18n/vi.po 1970-01-01 00:00:00 +0000 | |||
1098 | +++ city/i18n/vi.po 2013-05-13 09:06:50 +0000 | |||
1099 | @@ -0,0 +1,89 @@ | |||
1100 | 1 | # Vietnamese translation for openobject-addons | ||
1101 | 2 | # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 | ||
1102 | 3 | # This file is distributed under the same license as the openobject-addons package. | ||
1103 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | ||
1104 | 5 | # | ||
1105 | 6 | msgid "" | ||
1106 | 7 | msgstr "" | ||
1107 | 8 | "Project-Id-Version: openobject-addons\n" | ||
1108 | 9 | "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" | ||
1109 | 10 | "POT-Creation-Date: 2009-02-27 09:13+0000\n" | ||
1110 | 11 | "PO-Revision-Date: 2011-03-28 15:42+0000\n" | ||
1111 | 12 | "Last-Translator: OpenBMS JSC <Unknown>\n" | ||
1112 | 13 | "Language-Team: Vietnamese <vi@li.org>\n" | ||
1113 | 14 | "MIME-Version: 1.0\n" | ||
1114 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
1115 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
1116 | 17 | "X-Launchpad-Export-Date: 2012-10-31 04:47+0000\n" | ||
1117 | 18 | "X-Generator: Launchpad (build 16218)\n" | ||
1118 | 19 | |||
1119 | 20 | #. module: city | ||
1120 | 21 | #: view:city.city:0 | ||
1121 | 22 | #: model:ir.actions.act_window,name:city.action_city | ||
1122 | 23 | #: model:ir.model,name:city.model_city_city | ||
1123 | 24 | #: model:ir.module.module,shortdesc:city.module_meta_information | ||
1124 | 25 | msgid "City" | ||
1125 | 26 | msgstr "Thành phố/Quận" | ||
1126 | 27 | |||
1127 | 28 | #. module: city | ||
1128 | 29 | #: constraint:ir.ui.view:0 | ||
1129 | 30 | msgid "Invalid XML for View Architecture!" | ||
1130 | 31 | msgstr "XML không hợp lệ cho Kiến trúc Xem!" | ||
1131 | 32 | |||
1132 | 33 | #. module: city | ||
1133 | 34 | #: constraint:ir.model:0 | ||
1134 | 35 | msgid "" | ||
1135 | 36 | "The Object name must start with x_ and not contain any special character !" | ||
1136 | 37 | msgstr "" | ||
1137 | 38 | "Tên đối tượng phải bắt đầu bằng x_ và không bao gồm bất kỳ ký tự đặc biệt " | ||
1138 | 39 | "nào!" | ||
1139 | 40 | |||
1140 | 41 | #. module: city | ||
1141 | 42 | #: field:city.city,zip:0 | ||
1142 | 43 | msgid "ZIP" | ||
1143 | 44 | msgstr "Mã bưu chính" | ||
1144 | 45 | |||
1145 | 46 | #. module: city | ||
1146 | 47 | #: field:city.city,state_id:0 | ||
1147 | 48 | msgid "State" | ||
1148 | 49 | msgstr "Tiểu bang" | ||
1149 | 50 | |||
1150 | 51 | #. module: city | ||
1151 | 52 | #: field:city.city,country_id:0 | ||
1152 | 53 | msgid "Country" | ||
1153 | 54 | msgstr "Quốc gia" | ||
1154 | 55 | |||
1155 | 56 | #. module: city | ||
1156 | 57 | #: field:city.city,code:0 | ||
1157 | 58 | msgid "City Code" | ||
1158 | 59 | msgstr "Mã Thành phố" | ||
1159 | 60 | |||
1160 | 61 | #. module: city | ||
1161 | 62 | #: model:ir.module.module,description:city.module_meta_information | ||
1162 | 63 | msgid "" | ||
1163 | 64 | "Creates a model for storing cities\n" | ||
1164 | 65 | "Zip code, city, state and country fields are replaced with a location field " | ||
1165 | 66 | "in partner and partner contact forms.\n" | ||
1166 | 67 | "This module helps to keep homogeneous address data in the database." | ||
1167 | 68 | msgstr "" | ||
1168 | 69 | |||
1169 | 70 | #. module: city | ||
1170 | 71 | #: field:city.city,name:0 | ||
1171 | 72 | msgid "City Name" | ||
1172 | 73 | msgstr "Tên Thành phố" | ||
1173 | 74 | |||
1174 | 75 | #. module: city | ||
1175 | 76 | #: field:res.partner.address,city_id:0 | ||
1176 | 77 | msgid "Location" | ||
1177 | 78 | msgstr "Địa điểm" | ||
1178 | 79 | |||
1179 | 80 | #. module: city | ||
1180 | 81 | #: help:city.city,code:0 | ||
1181 | 82 | msgid "The official code for the city" | ||
1182 | 83 | msgstr "Mã chính thức của thành phố" | ||
1183 | 84 | |||
1184 | 85 | #. module: city | ||
1185 | 86 | #: model:ir.ui.menu,name:city.menu_city_partner | ||
1186 | 87 | #: field:res.country.state,city_ids:0 | ||
1187 | 88 | msgid "Cities" | ||
1188 | 89 | msgstr "Các thành phố" | ||
1189 | 0 | 90 | ||
1190 | === added file 'city/partner.py' | |||
1191 | --- city/partner.py 1970-01-01 00:00:00 +0000 | |||
1192 | +++ city/partner.py 2013-05-13 09:06:50 +0000 | |||
1193 | @@ -0,0 +1,50 @@ | |||
1194 | 1 | # -*- encoding: utf-8 -*- | ||
1195 | 2 | ############################################################################## | ||
1196 | 3 | # | ||
1197 | 4 | # OpenERP, Open Source Management Solution | ||
1198 | 5 | # Copyright (c) 2013 Servicios Baeza (http://www.serviciosbaeza.com/) All Rights Reserved. | ||
1199 | 6 | # Pedro Manuel Baeza <pedro.baeza@gmail.com> | ||
1200 | 7 | # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved. | ||
1201 | 8 | # Ignacio Ibeas <ignacio@acysos.com> | ||
1202 | 9 | # $Id$ | ||
1203 | 10 | # | ||
1204 | 11 | # This program is free software: you can redistribute it and/or modify | ||
1205 | 12 | # it under the terms of the GNU General Public License as published by | ||
1206 | 13 | # the Free Software Foundation, either version 3 of the License, or | ||
1207 | 14 | # (at your option) any later version. | ||
1208 | 15 | # | ||
1209 | 16 | # This program is distributed in the hope that it will be useful, | ||
1210 | 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1211 | 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1212 | 19 | # GNU General Public License for more details. | ||
1213 | 20 | # | ||
1214 | 21 | # You should have received a copy of the GNU General Public License | ||
1215 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1216 | 23 | # | ||
1217 | 24 | ############################################################################## | ||
1218 | 25 | |||
1219 | 26 | from osv import osv, fields | ||
1220 | 27 | import wizard | ||
1221 | 28 | import pooler | ||
1222 | 29 | |||
1223 | 30 | class res_partner_address(osv.osv): | ||
1224 | 31 | _inherit = "res.partner.address" | ||
1225 | 32 | |||
1226 | 33 | def on_change_city(self,cr,uid,ids,location): | ||
1227 | 34 | result = {} | ||
1228 | 35 | if location: | ||
1229 | 36 | city = self.pool.get('city.city').browse(cr, uid, location) | ||
1230 | 37 | result = {'value': { | ||
1231 | 38 | 'zip': city.zipcode, | ||
1232 | 39 | 'country_id': city.country_id.id, | ||
1233 | 40 | 'city': city.name, | ||
1234 | 41 | 'state_id': city.state_id.id | ||
1235 | 42 | } | ||
1236 | 43 | } | ||
1237 | 44 | return result | ||
1238 | 45 | |||
1239 | 46 | _columns = { | ||
1240 | 47 | 'city_id': fields.many2one('city.city', 'Location', select=1, | ||
1241 | 48 | help='Use the name or the zip to search the location'), | ||
1242 | 49 | } | ||
1243 | 50 | res_partner_address() | ||
1244 | 0 | \ No newline at end of file | 51 | \ No newline at end of file |
1245 | 1 | 52 | ||
1246 | === added file 'city/partner_view.xml' | |||
1247 | --- city/partner_view.xml 1970-01-01 00:00:00 +0000 | |||
1248 | +++ city/partner_view.xml 2013-05-13 09:06:50 +0000 | |||
1249 | @@ -0,0 +1,47 @@ | |||
1250 | 1 | <?xml version="1.0"?> | ||
1251 | 2 | <openerp> | ||
1252 | 3 | <data> | ||
1253 | 4 | <!-- Add city_id to the Partner form --> | ||
1254 | 5 | <record model="ir.ui.view" id="view_partner_form_city"> | ||
1255 | 6 | <field name="name">res.partner.form.city</field> | ||
1256 | 7 | <field name="model">res.partner</field> | ||
1257 | 8 | <field name="inherit_id" ref="base.view_partner_form"/> | ||
1258 | 9 | <field name="arch" type="xml"> | ||
1259 | 10 | <data> | ||
1260 | 11 | <xpath expr="//field[@name='address']//field[@name='street2']" position="after"> | ||
1261 | 12 | <field name="city_id" colspan="4" on_change="on_change_city(city_id)" /> | ||
1262 | 13 | </xpath> | ||
1263 | 14 | </data> | ||
1264 | 15 | </field> | ||
1265 | 16 | </record> | ||
1266 | 17 | |||
1267 | 18 | <!-- Add city_id to the Partner Address form 1 --> | ||
1268 | 19 | <record model="ir.ui.view" id="view_partner_address_form1_city"> | ||
1269 | 20 | <field name="name">res.partner.address.form1.city</field> | ||
1270 | 21 | <field name="model">res.partner.address</field> | ||
1271 | 22 | <field name="inherit_id" ref="base.view_partner_address_form1"/> | ||
1272 | 23 | <field name="arch" type="xml"> | ||
1273 | 24 | <data> | ||
1274 | 25 | <xpath expr="//field[@name='street2']" position="after"> | ||
1275 | 26 | <field name="city_id" on_change="on_change_city(city_id)" /> | ||
1276 | 27 | </xpath> | ||
1277 | 28 | </data> | ||
1278 | 29 | </field> | ||
1279 | 30 | </record> | ||
1280 | 31 | |||
1281 | 32 | <!-- Add city_id to the Partner Address form 2 --> | ||
1282 | 33 | <record model="ir.ui.view" id="view_partner_address_form2_city"> | ||
1283 | 34 | <field name="name">res.partner.address.form2.city</field> | ||
1284 | 35 | <field name="model">res.partner.address</field> | ||
1285 | 36 | <field name="inherit_id" ref="base.view_partner_address_form2"/> | ||
1286 | 37 | <field name="arch" type="xml"> | ||
1287 | 38 | <data> | ||
1288 | 39 | <xpath expr="//field[@name='street2']" position="after"> | ||
1289 | 40 | <field name="city_id" on_change="on_change_city(city_id)" /> | ||
1290 | 41 | </xpath> | ||
1291 | 42 | </data> | ||
1292 | 43 | </field> | ||
1293 | 44 | </record> | ||
1294 | 45 | |||
1295 | 46 | </data> | ||
1296 | 47 | </openerp> | ||
1297 | 0 | \ No newline at end of file | 48 | \ No newline at end of file |
1298 | 1 | 49 | ||
1299 | === added directory 'city/security' | |||
1300 | === added file 'city/security/ir.model.access.csv' | |||
1301 | --- city/security/ir.model.access.csv 1970-01-01 00:00:00 +0000 | |||
1302 | +++ city/security/ir.model.access.csv 2013-05-13 09:06:50 +0000 | |||
1303 | @@ -0,0 +1,3 @@ | |||
1304 | 1 | "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" | ||
1305 | 2 | "access_city_city_group_all","city_city group_user_all","model_city_city",,1,0,0,0 | ||
1306 | 3 | "access_city_city_group_user","city_city group_user","model_city_city","base.group_partner_manager",1,1,1,1 |