diff --git a/l10n_ch_states/README.rst b/l10n_ch_states/README.rst new file mode 100644 index 000000000..79ea2eb1f --- /dev/null +++ b/l10n_ch_states/README.rst @@ -0,0 +1,93 @@ +========================== +Switzerland Country States +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:82b3aaba0c62d9136fb0178bb08f98eac0da8aecc43309047d55e0d5196e3ec1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--switzerland-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-switzerland/tree/16.0/l10n_ch_states + :alt: OCA/l10n-switzerland +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-switzerland-16-0/l10n-switzerland-16-0-l10n_ch_states + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-switzerland&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends res.country.states for Switzerland. It brings states with +code and name for those who only want the states without cities. + +For those who also want cities, please install *Switzerland - Postal codes (ZIP) list* (`l10n_ch_zip`). + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +In order to use this module you just in to install it. It will add Switzerland +country states to your database + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* copado MEDIA UG + +Contributors +~~~~~~~~~~~~ + +* Mathias Neef +* `Trobz `_: + + * Son Ho + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 14.0 to 15.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +This module is part of the `OCA/l10n-switzerland `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_ch_states/__init__.py b/l10n_ch_states/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/l10n_ch_states/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/l10n_ch_states/__manifest__.py b/l10n_ch_states/__manifest__.py new file mode 100644 index 000000000..b9cb5a520 --- /dev/null +++ b/l10n_ch_states/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2019-2020 Camptocamp SA +# Copyright 2015 Mathias Neef copadoMEDIA UG +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Switzerland Country States", + "category": "Localisation", + "summary": "", + "version": "16.0.1.0.0", + "author": "copado MEDIA UG," "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/l10n-switzerland", + "license": "AGPL-3", + "depends": ["base"], + "data": ["data/res_country_states.xml"], +} diff --git a/l10n_ch_states/data/res_country_states.xml b/l10n_ch_states/data/res_country_states.xml new file mode 100644 index 000000000..f26f6c4c1 --- /dev/null +++ b/l10n_ch_states/data/res_country_states.xml @@ -0,0 +1,148 @@ + + + + + Argovia + AG + + + + Appenzell Outher Rhodes + AR + + + + Appenzell Inner Rhodes + AI + + + + Basel-Country + BL + + + + Basel-City + BS + + + + Bern + BE + + + + Germany + DE + + + + Principality of Liechtenstein + FL + + + + Fribourg + FR + + + + Geneva + GE + + + + Glarus + GL + + + + Grisons + GR + + + + Italy + IT + + + + Jura + JU + + + + Luzern + LU + + + + Neuchâtel + NE + + + + Nidwald + NW + + + + Obwald + OW + + + + Schaffhausen + SH + + + + Schwyz + SZ + + + + Solothurn + SO + + + + St. Gallen + SG + + + + Thurgovia + TG + + + + Ticino + TI + + + + Uri + UR + + + + Valais + VS + + + + Vaud + VD + + + + Zug + ZG + + + + Zurich + ZH + + diff --git a/l10n_ch_states/i18n/de.po b/l10n_ch_states/i18n/de.po new file mode 100644 index 000000000..33542d127 --- /dev/null +++ b/l10n_ch_states/i18n/de.po @@ -0,0 +1,179 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_states +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-23 13:57+0000\n" +"PO-Revision-Date: 2018-11-22 20:34+0000\n" +"Last-Translator: chrispi-ch \n" +"Language-Team: \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" +"X-Generator: Weblate 3.2.2\n" + +#. module: l10n_ch_states +#: model:ir.model.fields,help:l10n_ch_states.field_res_country_state__name +msgid "" +"Administrative divisions of a country. E.g. Fed. State, Departement, Canton" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AI +msgid "Appenzell Inner Rhodes" +msgstr "Appenzell Innerrhoden" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AR +msgid "Appenzell Outher Rhodes" +msgstr "Appenzell Ausserrhoden" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AG +msgid "Argovia" +msgstr "Aargau" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BS +msgid "Basel-City" +msgstr "Basel-Stadt" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BL +msgid "Basel-Country" +msgstr "Basel-Landschaft" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BE +msgid "Bern" +msgstr "Bern" + +#. module: l10n_ch_states +#: model:ir.model,name:l10n_ch_states.model_res_country_state +msgid "Country state" +msgstr "Kanton" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FR +msgid "Fribourg" +msgstr "Freiburg" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GE +msgid "Geneva" +msgstr "Genf" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_DE +msgid "Germany" +msgstr "Deutschland" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GL +msgid "Glarus" +msgstr "Glarus" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GR +msgid "Grisons" +msgstr "Graubünden" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_IT +msgid "Italy" +msgstr "Italien" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_JU +msgid "Jura" +msgstr "Jura" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_LU +msgid "Luzern" +msgstr "Luzern" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NE +msgid "Neuchâtel" +msgstr "Neuenburg" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NW +msgid "Nidwald" +msgstr "Nidwalden" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_OW +msgid "Obwald" +msgstr "Obwalden" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FL +msgid "Principality of Liechtenstein" +msgstr "Fürstentum Liechtenstein" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SH +msgid "Schaffhausen" +msgstr "Schaffhausen" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SZ +msgid "Schwyz" +msgstr "Schwyz" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SO +msgid "Solothurn" +msgstr "Solothurn" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SG +msgid "St. Gallen" +msgstr "St. Gallen" + +#. module: l10n_ch_states +#: model:ir.model.fields,field_description:l10n_ch_states.field_res_country_state__name +msgid "State Name" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TG +msgid "Thurgovia" +msgstr "Thurgau" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TI +msgid "Ticino" +msgstr "Tessin" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_UR +msgid "Uri" +msgstr "Uri" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VS +msgid "Valais" +msgstr "Wallis" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VD +msgid "Vaud" +msgstr "Waadt" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZG +msgid "Zug" +msgstr "Zug" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZH +msgid "Zurich" +msgstr "Zürich" diff --git a/l10n_ch_states/i18n/fr.po b/l10n_ch_states/i18n/fr.po new file mode 100644 index 000000000..5a40e836d --- /dev/null +++ b/l10n_ch_states/i18n/fr.po @@ -0,0 +1,181 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_states +# +# Translators: +# OCA Transbot , 2017 +# leemannd , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 04:14+0000\n" +"PO-Revision-Date: 2017-01-14 04:14+0000\n" +"Last-Translator: leemannd , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/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: l10n_ch_states +#: model:ir.model.fields,help:l10n_ch_states.field_res_country_state__name +msgid "" +"Administrative divisions of a country. E.g. Fed. State, Departement, Canton" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AI +msgid "Appenzell Inner Rhodes" +msgstr "Appenzell Rhodes-Intérieures" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AR +msgid "Appenzell Outher Rhodes" +msgstr "Appenzell Rhodes-Extérieures" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AG +msgid "Argovia" +msgstr "Argovie" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BS +msgid "Basel-City" +msgstr "Bâle-Ville" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BL +msgid "Basel-Country" +msgstr "Bâle-Campagne" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BE +msgid "Bern" +msgstr "Berne" + +#. module: l10n_ch_states +#: model:ir.model,name:l10n_ch_states.model_res_country_state +msgid "Country state" +msgstr "Canton" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FR +msgid "Fribourg" +msgstr "Fribourg" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GE +msgid "Geneva" +msgstr "Genève" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_DE +msgid "Germany" +msgstr "Allemagne" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GL +msgid "Glarus" +msgstr "Glaris" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GR +msgid "Grisons" +msgstr "Grisons" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_IT +msgid "Italy" +msgstr "Italie" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_JU +msgid "Jura" +msgstr "Jura" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_LU +msgid "Luzern" +msgstr "Lucerne" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NE +msgid "Neuchâtel" +msgstr "Neuchâtel" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NW +msgid "Nidwald" +msgstr "Nidwald" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_OW +msgid "Obwald" +msgstr "Obwald" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FL +msgid "Principality of Liechtenstein" +msgstr "Principauté du Liechtenstein" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SH +msgid "Schaffhausen" +msgstr "Schaffhouse" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SZ +msgid "Schwyz" +msgstr "Schwytz" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SO +msgid "Solothurn" +msgstr "Soleure" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SG +msgid "St. Gallen" +msgstr "Saint Gall" + +#. module: l10n_ch_states +#: model:ir.model.fields,field_description:l10n_ch_states.field_res_country_state__name +msgid "State Name" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TG +msgid "Thurgovia" +msgstr "Thurgovie" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TI +msgid "Ticino" +msgstr "Tessin" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_UR +msgid "Uri" +msgstr "Uri" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VS +msgid "Valais" +msgstr "Valais" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VD +msgid "Vaud" +msgstr "Vaud" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZG +msgid "Zug" +msgstr "Zoug" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZH +msgid "Zurich" +msgstr "Zurich" diff --git a/l10n_ch_states/i18n/it.po b/l10n_ch_states/i18n/it.po new file mode 100644 index 000000000..3b36a2841 --- /dev/null +++ b/l10n_ch_states/i18n/it.po @@ -0,0 +1,181 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_states +# +# Translators: +# Stefano , 2015 +msgid "" +msgstr "" +"Project-Id-Version: l10n-switzerland (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-09 14:46+0000\n" +"PO-Revision-Date: 2015-10-08 20:29+0000\n" +"Last-Translator: Stefano \n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-l10n-" +"switzerland-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: l10n_ch_states +#: model:ir.model.fields,help:l10n_ch_states.field_res_country_state__name +msgid "" +"Administrative divisions of a country. E.g. Fed. State, Departement, Canton" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AI +msgid "Appenzell Inner Rhodes" +msgstr "Appenzello interno" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AR +msgid "Appenzell Outher Rhodes" +msgstr "Appenzello esterno" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AG +msgid "Argovia" +msgstr "Argovia" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BS +msgid "Basel-City" +msgstr "Basilea Città" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BL +msgid "Basel-Country" +msgstr "Basilea Campagna" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BE +msgid "Bern" +msgstr "Berna" + +#. module: l10n_ch_states +#: model:ir.model,name:l10n_ch_states.model_res_country_state +msgid "Country state" +msgstr "Stato" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FR +msgid "Fribourg" +msgstr "Friburgo" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GE +msgid "Geneva" +msgstr "Ginevra" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_DE +msgid "Germany" +msgstr "Germania" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GL +msgid "Glarus" +msgstr "Glarona" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GR +msgid "Grisons" +msgstr "Grigioni" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_IT +msgid "Italy" +msgstr "Italia" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_JU +msgid "Jura" +msgstr "Jura" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_LU +msgid "Luzern" +msgstr "Lucerna" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NE +msgid "Neuchâtel" +msgstr "Neuchâtel" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NW +msgid "Nidwald" +msgstr "Nidvaldo" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_OW +msgid "Obwald" +msgstr "Obvaldo" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FL +msgid "Principality of Liechtenstein" +msgstr "Pricipato del Liechtenstein" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SH +msgid "Schaffhausen" +msgstr "Scaffusa" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SZ +msgid "Schwyz" +msgstr "Svitto" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SO +msgid "Solothurn" +msgstr "Soletta" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SG +msgid "St. Gallen" +msgstr "San Gallo" + +#. module: l10n_ch_states +#: model:ir.model.fields,field_description:l10n_ch_states.field_res_country_state__name +msgid "State Name" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TG +msgid "Thurgovia" +msgstr "Turgovia" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TI +msgid "Ticino" +msgstr "Ticino" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_UR +msgid "Uri" +msgstr "Uri" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VS +msgid "Valais" +msgstr "Vallese" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VD +msgid "Vaud" +msgstr "Vaud" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZG +msgid "Zug" +msgstr "Zugo" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZH +msgid "Zurich" +msgstr "Zurigo" diff --git a/l10n_ch_states/i18n/l10n_ch_states.pot b/l10n_ch_states/i18n/l10n_ch_states.pot new file mode 100644 index 000000000..502929e49 --- /dev/null +++ b/l10n_ch_states/i18n/l10n_ch_states.pot @@ -0,0 +1,175 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ch_states +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.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: l10n_ch_states +#: model:ir.model.fields,help:l10n_ch_states.field_res_country_state__name +msgid "" +"Administrative divisions of a country. E.g. Fed. State, Departement, Canton" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AI +msgid "Appenzell Inner Rhodes" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AR +msgid "Appenzell Outher Rhodes" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_AG +msgid "Argovia" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BS +msgid "Basel-City" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BL +msgid "Basel-Country" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_BE +msgid "Bern" +msgstr "" + +#. module: l10n_ch_states +#: model:ir.model,name:l10n_ch_states.model_res_country_state +msgid "Country state" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FR +msgid "Fribourg" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GE +msgid "Geneva" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_DE +msgid "Germany" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GL +msgid "Glarus" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_GR +msgid "Grisons" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_IT +msgid "Italy" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_JU +msgid "Jura" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_LU +msgid "Luzern" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NE +msgid "Neuchâtel" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_NW +msgid "Nidwald" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_OW +msgid "Obwald" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_FL +msgid "Principality of Liechtenstein" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SH +msgid "Schaffhausen" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SZ +msgid "Schwyz" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SO +msgid "Solothurn" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_SG +msgid "St. Gallen" +msgstr "" + +#. module: l10n_ch_states +#: model:ir.model.fields,field_description:l10n_ch_states.field_res_country_state__name +msgid "State Name" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TG +msgid "Thurgovia" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_TI +msgid "Ticino" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_UR +msgid "Uri" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VS +msgid "Valais" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_VD +msgid "Vaud" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZG +msgid "Zug" +msgstr "" + +#. module: l10n_ch_states +#: model:res.country.state,name:l10n_ch_states.state_ZH +msgid "Zurich" +msgstr "" diff --git a/l10n_ch_states/models/__init__.py b/l10n_ch_states/models/__init__.py new file mode 100644 index 000000000..11573766f --- /dev/null +++ b/l10n_ch_states/models/__init__.py @@ -0,0 +1 @@ +from . import res_country diff --git a/l10n_ch_states/models/res_country.py b/l10n_ch_states/models/res_country.py new file mode 100644 index 000000000..6e93e73e8 --- /dev/null +++ b/l10n_ch_states/models/res_country.py @@ -0,0 +1,10 @@ +# Copyright 2015 Mathias Neef copadoMEDIA UG +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class CountryState(models.Model): + _inherit = "res.country.state" + + name = fields.Char(translate=True) diff --git a/l10n_ch_states/readme/CONTRIBUTORS.rst b/l10n_ch_states/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..33b65f064 --- /dev/null +++ b/l10n_ch_states/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Mathias Neef +* `Trobz `_: + + * Son Ho diff --git a/l10n_ch_states/readme/CREDITS.rst b/l10n_ch_states/readme/CREDITS.rst new file mode 100644 index 000000000..3e193a7a6 --- /dev/null +++ b/l10n_ch_states/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 14.0 to 15.0 was financially supported by Camptocamp diff --git a/l10n_ch_states/readme/DESCRIPTION.rst b/l10n_ch_states/readme/DESCRIPTION.rst new file mode 100644 index 000000000..301503de4 --- /dev/null +++ b/l10n_ch_states/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This module extends res.country.states for Switzerland. It brings states with +code and name for those who only want the states without cities. + +For those who also want cities, please install *Switzerland - Postal codes (ZIP) list* (`l10n_ch_zip`). diff --git a/l10n_ch_states/readme/USAGE.rst b/l10n_ch_states/readme/USAGE.rst new file mode 100644 index 000000000..f2d43462c --- /dev/null +++ b/l10n_ch_states/readme/USAGE.rst @@ -0,0 +1,2 @@ +In order to use this module you just in to install it. It will add Switzerland +country states to your database diff --git a/l10n_ch_states/static/description/icon.png b/l10n_ch_states/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/l10n_ch_states/static/description/icon.png differ diff --git a/l10n_ch_states/static/description/index.html b/l10n_ch_states/static/description/index.html new file mode 100644 index 000000000..e18f1a03d --- /dev/null +++ b/l10n_ch_states/static/description/index.html @@ -0,0 +1,442 @@ + + + + + + +Switzerland Country States + + + +
+

Switzerland Country States

+ + +

Beta License: AGPL-3 OCA/l10n-switzerland Translate me on Weblate Try me on Runboat

+

This module extends res.country.states for Switzerland. It brings states with +code and name for those who only want the states without cities.

+

For those who also want cities, please install Switzerland - Postal codes (ZIP) list (l10n_ch_zip).

+

Table of contents

+ +
+

Usage

+

In order to use this module you just in to install it. It will add Switzerland +country states to your database

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • copado MEDIA UG
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The migration of this module from 14.0 to 15.0 was financially supported by Camptocamp

+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/l10n-switzerland project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/setup/l10n_ch_states/odoo/addons/l10n_ch_states b/setup/l10n_ch_states/odoo/addons/l10n_ch_states new file mode 120000 index 000000000..9860c74ae --- /dev/null +++ b/setup/l10n_ch_states/odoo/addons/l10n_ch_states @@ -0,0 +1 @@ +../../../../l10n_ch_states \ No newline at end of file diff --git a/setup/l10n_ch_states/setup.py b/setup/l10n_ch_states/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/l10n_ch_states/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)