Rodney Elpidio Enciso Arias 6 rokov pred
commit
fd5d588d27

+ 41 - 0
README.rst

@@ -0,0 +1,41 @@
+Enhanced ZIP management
+=======================
+
+This module introduces a better zip/npa management system.
+
+It enables zip, city, state and country auto-completion on partners and companies.
+
+Also allows different search filters.
+
+
+Credits
+=======
+
+Contributors
+------------
+
+* Nicolas Bessi. (Copyright Camptocamp SA)
+* Ignacio Ibeas (Acysos S.L.)
+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
+* Alejandro Santana <alejandrosantana@anubia.es>
+- Sandy Carter <sandy.carter@savoirfairelinux.com>
+
+Icon
+----
+* http://icon-park.com/icon/location-map-pin-orange3/
+
+
+Maintainer
+----------
+
+.. image:: http://odoo-community.org/logo.png
+   :alt: Odoo Community Association
+   :target: http://odoo-community.org
+
+This module is maintained by the OCA.
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+To contribute to this module, please visit http://odoo-community.org.

+ 24 - 0
__init__.py

@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from . import models

BIN
__init__.pyc


+ 52 - 0
__openerp__.py

@@ -0,0 +1,52 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+    'name': 'Location management (aka Better ZIP)',
+    'version': '8.0.1.0.0',
+    'depends': ['base'],
+    'author': "Camptocamp,"
+              "ACYSOS S.L.,"
+              "Alejandro Santana,"
+              "Serv. Tecnol. Avanzados - Pedro M. Baeza,"
+              "Odoo Community Association (OCA)",
+    'license': "AGPL-3",
+    'contributors': [
+        'Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>',
+        'Ignacio Ibeas (Acysos S.L.)',
+        'Alejandro Santana <alejandrosantana@anubia.es>',
+        'Sandy Carter <sandy.carter@savoirfairelinux.com>',
+    ],
+    'summary': '''Enhanced zip/npa management system''',
+    'website': 'http://www.camptocamp.com',
+    'data': ['views/better_zip_view.xml',
+             'views/state_view.xml',
+             'views/res_country_view.xml',
+             'views/company_view.xml',
+             'views/partner_view.xml',
+             'security/ir.model.access.csv'],
+    'demo': [
+        'demo/better_zip.xml',
+    ],
+    'installable': True,
+    'active': False,
+}

+ 12 - 0
demo/better_zip.xml

@@ -0,0 +1,12 @@
+<?xml version = "1.0" encoding="utf-8"?>
+<openerp>
+  <data>
+
+    <record id="demo_brussels" model="res.better.zip">
+      <field name="name">1000</field>
+      <field name="city">Brussels</field>
+      <field name="country_id" ref="base.be"/>
+    </record>
+
+  </data>
+</openerp>

+ 151 - 0
i18n/base_location.pot

@@ -0,0 +1,151 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* base_location
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr ""
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr ""
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr ""
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr ""
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr ""
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr ""
+

+ 156 - 0
i18n/da.po

@@ -0,0 +1,156 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Hans Henrik Gabelgaard <hhg@gabelgaard.org>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-28 15:54+0000\n"
+"PO-Revision-Date: 2015-06-25 08:22+0000\n"
+"Last-Translator: Hans Henrik Gabelgaard <hhg@gabelgaard.org>\n"
+"Language-Team: Danish (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/da/)\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "By/Postnummer/Lokations administration"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Byer"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Byer/Loaktions administration"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "By"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Postnummer"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Slå by/postnummer op"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Postnr/by "
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Virksomheder"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Land."
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Delstat/region"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Postnr/by "
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Navn"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partner"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Søg by"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Delstat"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "Postnummer"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Søg på bynavn eller postnummer"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "Postnr."

+ 156 - 0
i18n/de.po

@@ -0,0 +1,156 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Rudolf Schnapka <rs@techno-flex.de>, 2015,2017
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-21 16:57+0000\n"
+"PO-Revision-Date: 2017-02-24 23:21+0000\n"
+"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
+"Language-Team: German (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/de/)\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Städte/Orte-Verwaltung"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Städte"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Städte/Orte-Verwaltung"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Stadt"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Stadtkennung"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Stadtvervollständigung"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Stadt/Ort"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr "Stadt/Ort-Vervollständigungsobjekt"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Unternehmen"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Land"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Bundesland"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "erstellt von"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "erstellt am"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr "Gruppieren"
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr "Zuletzt verändert am"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "zuletzt aktualisiert von"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "zuletzt aktualisiert am"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Ort"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Name"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partner"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Suche Stadt"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Bundesland"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "Der offizielle Schlüssel der Stadt"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Verwenden Sie Bezeichnung oder PLZ, um den Ort zu suchen"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "PLZ"

+ 159 - 0
i18n/es.po

@@ -0,0 +1,159 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Francisco Palm <francisco.palm@gmail.com>, 2015
+# Iván Todorovich <ivan.todorovich@gmail.com>, 2015
+# Oihane Crucelaegui <oihanecruce@gmail.com>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-07-25 11:58+0000\n"
+"PO-Revision-Date: 2016-07-14 09:05+0000\n"
+"Last-Translator: Oihane Crucelaegui <oihanecruce@gmail.com>\n"
+"Language-Team: Spanish (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/es/)\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Gestión de ciudades/ubicaciones"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Ciudades"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Ciudad/Ubicaciones"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Ciudad"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Código de ciudad"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Autocompletado a partir de la ciudad"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Ciudad/Ubicación"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr "Autocompletado de objetos a partir de ciudades/ubicaciones"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Compañías"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "País"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Provincia"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Creado por"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Creado en"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr "Agrupar por"
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr "Última modificación el"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Última actualización por"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Última actualización en"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Ubicación"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Buscar ciudad"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Provincia"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "El código oficial para la ciudad"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr ""
+"Utilice el nombre de ciudad o el código postal para buscar la ubicación"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "C.P."

+ 156 - 0
i18n/eu.po

@@ -0,0 +1,156 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Esther Martín Menéndez <esthermartin001@gmail.com>, 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-02-21 16:57+0000\n"
+"PO-Revision-Date: 2017-02-23 15:55+0000\n"
+"Last-Translator: Esther Martín Menéndez <esthermartin001@gmail.com>\n"
+"Language-Team: Basque (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/eu/)\n"
+"Language: eu\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr ""
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr ""
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr ""
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Izena"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Kidea"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr ""
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr ""
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr ""

+ 156 - 0
i18n/fi.po

@@ -0,0 +1,156 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-01-19 01:46+0000\n"
+"PO-Revision-Date: 2015-05-21 21:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/fi/)\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr ""
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr ""
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr ""
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Maa"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Luonut"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Luotu"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+#, fuzzy
+msgid "Last Modified on"
+msgstr "Viimeksi päivittänyt"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Viimeksi päivitetty"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Viimeksi päivittänyt"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Nimi"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Kumppani"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr ""
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr ""
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr ""

+ 155 - 0
i18n/fr.po

@@ -0,0 +1,155 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-28 15:54+0000\n"
+"PO-Revision-Date: 2015-05-22 13:07+0000\n"
+"Last-Translator: Maxime Chambreuil <maxime.chambreuil@gmail.com>\n"
+"Language-Team: French (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/fr/)\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Cites/locations Management"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Villes"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Cities/Locations Management"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Ville"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Code de la ville"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Complétion par ville"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Ville/location"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Sociétés"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Pays"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Etat"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Location"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partenaire"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Etat"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "Code officiel de la ville"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Utilisez le nom de la ville ou le zip lors des recherches"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "ZIP"

+ 157 - 0
i18n/it.po

@@ -0,0 +1,157 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Paolo Valier, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-02-27 23:26+0000\n"
+"PO-Revision-Date: 2016-03-11 15:37+0000\n"
+"Last-Translator: Paolo Valier\n"
+"Language-Team: Italian (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/it/)\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Gestione Città/Località"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Città"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Gestione Città/Località"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Città"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Codice Città"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Completamento città"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Città/Località"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Aziende"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Paese"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Provincia Paese"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Creato da"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Creato il"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr "Raggruppa per"
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+#, fuzzy
+msgid "Last Modified on"
+msgstr "Ultimo aggiornamento il"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Ultimo aggiornamento di"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Ultimo aggiornamento il"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Locazione"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Nome"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partner"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Cerca città"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Provincia"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "Il codice ufficiale per la città"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Usare il nome della città o il codice CAP per ricercare la locazione"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "CAP"

+ 156 - 0
i18n/nl.po

@@ -0,0 +1,156 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-09-23 21:40+0000\n"
+"PO-Revision-Date: 2015-10-01 19:15+0000\n"
+"Last-Translator: Maxime Chambreuil <maxime.chambreuil@gmail.com>\n"
+"Language-Team: Dutch (http://www.transifex.com/oca/OCA-partner-contact-8-0/"
+"language/nl/)\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr ""
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Stad"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr ""
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr ""
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Land"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Aangemaakt door"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Aangemaakt op"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+#, fuzzy
+msgid "Last Modified on"
+msgstr "Laatst bijgewerkt op"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Laatst bijgewerkt door"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Laatst bijgewerkt op"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr ""
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr ""
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partner"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr ""
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr ""
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr ""
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr ""

+ 157 - 0
i18n/pt_BR.po

@@ -0,0 +1,157 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# danimaribeiro <danimaribeiro@gmail.com>, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-08-28 15:54+0000\n"
+"PO-Revision-Date: 2015-07-20 19:25+0000\n"
+"Last-Translator: danimaribeiro <danimaribeiro@gmail.com>\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-"
+"contact-8-0/language/pt_BR/)\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Gerenciamento de Cidade/locais"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Cidades"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Gerenciamento Cidade/Locais"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Cidade"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Código da cidade"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Autocompletar de cidades"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Cidade/Localização"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr "Objeto autocompletar de Cidades/Locais"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Empresas"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "País"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Estado"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Criado por"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Criado em"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr "Agrupar por"
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+#, fuzzy
+msgid "Last Modified on"
+msgstr "Útima atualização em"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Útima atualização por"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Útima atualização em"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Localização"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Nome"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Parceiro"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Buscar cidade"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Estado"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "O código oficial da cidade"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Use o nome da cidade ou o CEP para pesquisar a localização"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "CEP"

+ 157 - 0
i18n/sl.po

@@ -0,0 +1,157 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * base_location
+#
+# Translators:
+# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015-2016
+msgid ""
+msgstr ""
+"Project-Id-Version: partner-contact (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-05-07 07:18+0000\n"
+"PO-Revision-Date: 2016-05-07 07:14+0000\n"
+"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
+"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-partner-"
+"contact-8-0/language/sl/)\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
+"%100==4 ? 2 : 3);\n"
+
+#. module: base_location
+#: model:ir.actions.act_window,name:base_location.action_zip_tree
+msgid "Cites/locations Management"
+msgstr "Upravljanje krajev/lokacij"
+
+#. module: base_location
+#: field:res.country.state,better_zip_ids:0
+msgid "Cities"
+msgstr "Kraji"
+
+#. module: base_location
+#: model:ir.ui.menu,name:base_location.zip_base
+msgid "Cities/Locations Management"
+msgstr "Kraji/Upravljanje lokacij"
+
+#. module: base_location
+#: field:res.better.zip,city:0
+msgid "City"
+msgstr "Kraj"
+
+#. module: base_location
+#: field:res.better.zip,code:0
+msgid "City Code"
+msgstr "Koda kraja"
+
+#. module: base_location
+#: view:res.company:base_location.view_company_form_city
+#: view:res.partner:base_location.view_partner_form
+msgid "City completion"
+msgstr "Izpolnjevanje kraja"
+
+#. module: base_location
+#: field:res.partner,zip_id:0
+msgid "City/Location"
+msgstr "Kraj/Lokacija"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_better_zip
+msgid "City/locations completion object"
+msgstr "Objekt izpolnjevanja kraja/lokacije"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_company
+msgid "Companies"
+msgstr "Družbe"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,country_id:0
+#: view:res.country:base_location.view_country_search
+msgid "Country"
+msgstr "Država"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_country_state
+msgid "Country state"
+msgstr "Zvezna država"
+
+#. module: base_location
+#: field:res.better.zip,create_uid:0
+msgid "Created by"
+msgstr "Ustvaril"
+
+#. module: base_location
+#: field:res.better.zip,create_date:0
+msgid "Created on"
+msgstr "Ustvarjeno"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Group By"
+msgstr "Združi po"
+
+#. module: base_location
+#: field:res.better.zip,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: base_location
+#: field:res.better.zip,__last_update:0
+msgid "Last Modified on"
+msgstr "Zadnjič spremenjeno"
+
+#. module: base_location
+#: field:res.better.zip,write_uid:0
+msgid "Last Updated by"
+msgstr "Zadnji posodobil"
+
+#. module: base_location
+#: field:res.better.zip,write_date:0
+msgid "Last Updated on"
+msgstr "Zadnjič posodobljeno"
+
+#. module: base_location
+#: field:res.company,better_zip_id:0
+msgid "Location"
+msgstr "Lokacija"
+
+#. module: base_location
+#: field:res.better.zip,display_name:0
+msgid "Name"
+msgstr "Naziv"
+
+#. module: base_location
+#: model:ir.model,name:base_location.model_res_partner
+msgid "Partner"
+msgstr "Partner"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+msgid "Search city"
+msgstr "Iskanje kraja"
+
+#. module: base_location
+#: view:res.better.zip:base_location.view_better_zip_filter
+#: field:res.better.zip,state_id:0
+msgid "State"
+msgstr "Zvezna država"
+
+#. module: base_location
+#: help:res.better.zip,code:0
+msgid "The official code for the city"
+msgstr "Uradna koda kraja"
+
+#. module: base_location
+#: help:res.company,better_zip_id:0
+msgid "Use the city name or the zip code to search the location"
+msgstr "Iskanje lokacije z uporabo imena kraja ali poštne številke"
+
+#. module: base_location
+#: view:res.better.zip:base_location.better_zip_form
+#: view:res.better.zip:base_location.better_zip_tree
+#: field:res.better.zip,name:0
+msgid "ZIP"
+msgstr "Poštna številka"

+ 10 - 0
models/__init__.py

@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+#
+# License, author and contributors information in:
+# __openerp__.py file at the root folder of this module.
+#
+
+from . import better_zip
+from . import partner
+from . import state
+from . import company

BIN
models/__init__.pyc


+ 62 - 0
models/better_zip.py

@@ -0,0 +1,62 @@
+# -*- coding: utf-8 -*-
+#
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+from openerp import models, fields, api
+
+
+class BetterZip(models.Model):
+    '''City/locations completion object'''
+
+    _name = "res.better.zip"
+    _description = __doc__
+    _order = "name asc"
+    _rec_name = "display_name"
+
+    display_name = fields.Char('Name', compute='_get_display_name', store=True)
+    name = fields.Char('ZIP')
+    code = fields.Char('City Code', size=64,
+                       help="The official code for the city")
+    city = fields.Char('City', required=True)
+    state_id = fields.Many2one('res.country.state', 'State')
+    country_id = fields.Many2one('res.country', 'Country')
+
+    @api.one
+    @api.depends(
+        'name',
+        'city',
+        'state_id',
+        'country_id',
+        )
+    def _get_display_name(self):
+        if self.name:
+            name = [self.name, self.city]
+        else:
+            name = [self.city]
+        if self.state_id:
+            name.append(self.state_id.name)
+        if self.country_id:
+            name.append(self.country_id.name)
+        self.display_name = ", ".join(name)
+
+    @api.onchange('state_id')
+    def onchange_state_id(self):
+        if self.state_id:
+            self.country_id = self.state_id.country_id

BIN
models/better_zip.pyc


+ 44 - 0
models/company.py

@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+#
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+from openerp import models, fields, api
+
+
+class ResCompany(models.Model):
+
+    _inherit = 'res.company'
+
+    @api.one
+    @api.onchange('better_zip_id')
+    def on_change_city(self):
+        if self.better_zip_id:
+            self.zip = self.better_zip_id.name
+            self.city = self.better_zip_id.city
+            self.state_id = self.better_zip_id.state_id
+            self.country_id = self.better_zip_id.country_id
+
+    better_zip_id = fields.Many2one(
+        'res.better.zip',
+        string='Location',
+        select=1,
+        help='Use the city name or the zip code to search the location',
+    )

BIN
models/company.pyc


+ 37 - 0
models/partner.py

@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+#
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+from openerp import models, fields, api
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+    zip_id = fields.Many2one('res.better.zip', 'City/Location')
+
+    @api.one
+    @api.onchange('zip_id')
+    def onchange_zip_id(self):
+        if self.zip_id:
+            self.zip = self.zip_id.name
+            self.city = self.zip_id.city
+            self.state_id = self.zip_id.state_id
+            self.country_id = self.zip_id.country_id

BIN
models/partner.pyc


+ 30 - 0
models/state.py

@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+#
+#
+#    Author: Nicolas Bessi. Copyright Camptocamp SA
+#    Contributor: Pedro Manuel Baeza <pedro.baeza@serviciosbaeza.com>
+#                 Ignacio Ibeas <ignacio@acysos.com>
+#                 Alejandro Santana <alejandrosantana@anubia.es>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+#
+from openerp import models, fields
+
+
+class ResCountryState(models.Model):
+
+    _inherit = 'res.country.state'
+
+    better_zip_ids = fields.One2many('res.better.zip', 'state_id', 'Cities')

BIN
models/state.pyc


+ 3 - 0
security/ir.model.access.csv

@@ -0,0 +1,3 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"ir_model_access_betterzip0","res_better_zip group_user_all","model_res_better_zip",base.group_user,1,0,0,0
+"ir_model_access_betterzip1","res_better_zip group_user","model_res_better_zip","base.group_partner_manager",1,1,1,1

BIN
static/description/icon.png


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 114 - 0
static/description/icon.svg


+ 70 - 0
views/better_zip_view.xml

@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="better_zip_form">
+            <field name="name">res.better.zip.form</field>
+            <field name="model">res.better.zip</field>
+            <field name="arch" type="xml">
+                <form string="ZIP" version="7.0">
+                    <group col="4">
+                    <field name="name"/>
+                    <field name="code"/>
+                    <field name="city"/>
+                    <field name="state_id"/>
+                    <field name="country_id"/>
+                    </group>
+                </form>
+            </field>
+        </record>
+
+        <record model="ir.ui.view" id="better_zip_tree">
+            <field name="name">res.better.zip.tree</field>
+            <field name="model">res.better.zip</field>
+            <field name="arch" type="xml">
+                <tree string="ZIP">
+                    <field name="name"/>
+                    <field name="code"/>
+                    <field name="city"/>
+                    <field name="state_id"/>
+                    <field name="country_id"/>
+                </tree>
+            </field>
+        </record>
+
+        <record id="view_better_zip_filter" model="ir.ui.view">
+            <field name="name">res.better.zip.select</field>
+            <field name="model">res.better.zip</field>
+            <field name="arch" type="xml">
+                <search string="Search city">
+                    <field name="name"/>
+                    <field name="code"/>
+                    <field name="city"/>
+                    <field name="state_id"/>
+                    <field name="country_id"/>
+                        <group expand="0" string="Group By">
+                            <filter string="State" domain="[]" context="{'group_by':'state_id'}"/>
+                            <filter string="Country" domain="[]" context="{'group_by':'country_id'}"/>
+                        </group>
+                </search>
+            </field>
+        </record>
+
+        <record id="action_zip_tree" model="ir.actions.act_window">
+            <field name="name">Cites/locations Management</field>
+            <field name="res_model">res.better.zip</field>
+            <field name="view_type">form</field>
+            <field name="view_mode">tree,form</field>
+            <field ref="better_zip_tree" name="view_id"/>
+            <field name="search_view_id" ref="view_better_zip_filter"/>
+        </record>
+
+        <menuitem
+            name="Cities/Locations Management"
+            id="zip_base"
+            parent="base.menu_localisation"
+            action="action_zip_tree"
+            />
+
+    </data>
+</openerp>

+ 21 - 0
views/company_view.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+
+        <!-- Add cities to the company form -->
+        <record id="view_company_form_city" model="ir.ui.view">
+            <field name="name">res.company.form.city</field>
+            <field name="model">res.company</field>
+            <field name="inherit_id" ref="base.view_company_form" />
+            <field name="arch" type="xml">
+                <field name="street2" position="after">
+                    <field name="better_zip_id"
+                        options="{'create_name_field': 'city'}"
+                        colspan="4"
+                        placeholder="City completion" />
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>

+ 27 - 0
views/partner_view.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+
+        <record id="view_partner_form" model="ir.ui.view">
+            <field name="name">res.partner.zip_id.2</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form" />
+            <field name="arch" type="xml">
+                <div class="address_format" position="before">
+                    <field name="zip_id"
+                        options="{'create_name_field': 'city'}"
+                        placeholder="City completion"
+                        attrs="{'invisible': [('use_parent_address','=',True)]}"
+                        class="oe_edit_only" />
+                </div>
+                <xpath expr="//field[@name='child_ids']/form//div[@class='address_format']" position="before">
+                    <field name="zip_id" options="{'create_name_field': 'city'}"
+                        placeholder="City completion"
+                        attrs="{'invisible': [('use_parent_address','=',True)]}"
+                        class="oe_edit_only" />
+                </xpath>
+            </field>
+        </record>
+
+    </data>
+</openerp>

+ 17 - 0
views/res_country_view.xml

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+
+        <record id="view_country_search" model="ir.ui.view">
+            <field name="name">res.country.search</field>
+            <field name="model">res.country</field>
+            <field name="arch" type="xml">
+                <search string="Country">
+                    <field name="name"/>
+                    <field name="code"/>
+                </search>
+            </field>
+        </record>
+
+    </data>
+</openerp>

+ 26 - 0
views/state_view.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+        <!-- Add cities to the State form -->
+        <record model="ir.ui.view" id="view_country_state_form2">
+            <field name="name">view_country_state_form2</field>
+            <field name="model">res.country.state</field>
+            <field name="inherit_id" ref="base.view_country_state_form"/>
+            <field name="arch" type="xml">
+                <field name="country_id" position="after">
+                    <field name="better_zip_ids"
+                        context="{'country_id': country_id}"
+                        colspan="4"
+                        nolabel="1">
+                        <tree editable="top">
+                            <field name="name"/>
+                            <field name="code"/>
+                            <field name="city"/>
+                            <field name="country_id"/>
+                        </tree>
+                    </field>
+                </field>
+            </field>
+        </record>
+    </data>
+</openerp>

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov