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