Skip to content

Commit

Permalink
[MIG] l10n_de_country_states: Migration to 10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Aug 30, 2017
1 parent 2ba1ca7 commit 1b5caf5
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 222 deletions.
45 changes: 39 additions & 6 deletions l10n_de_country_states/README.rst
@@ -1,22 +1,55 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=====================
German country states
=====================

Adds german country states as res.country.state

Installation
============

`base_country_state_translatable` from `patner-contact` repository is now
needed to enjoy the state translations that this module provides.

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/175/10.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-germany/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/l10n-germany/issues/new?body=module:%20l10n_de_country_states%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Nikolina Todorova <nikolina.todorova@initos.com>
* Antonio Espinosa <antonioea@antiun.com>
* Antonio Espinosa <antonio.espinosa@tecnativa.com>
* David Vidal <david.vidal@tecnativa.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://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 https://odoo-community.org.
25 changes: 0 additions & 25 deletions l10n_de_country_states/__init__.py
@@ -1,26 +1 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2010-2013 OpenERP s.a. (<http://openerp.com>).
# Copyright (C) 2014 initOS GmbH & Co. KG (<http://www.initos.com>).
# Author Nikolina Todorova <nikolina.todorova@initos.com>
# (c) 2015 Antiun Ingenieria, SL (Madrid, Spain, http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
#
# 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
36 changes: 9 additions & 27 deletions l10n_de_country_states/__manifest__.py
@@ -1,40 +1,22 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2010-2013 OpenERP s.a. (<http://openerp.com>).
# Copyright (C) 2014 initOS GmbH & Co. KG (<http://www.initos.com>).
# Author Nikolina Todorova <nikolina.todorova@initos.com>
# (c) 2015 Antiun Ingenieria, SL (Madrid, Spain, http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
#
# 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/>.
#
##############################################################################
# Copyright 2015 Nikolina Todorova <nikolina.todorova@initos.com>
# Copyright 2015 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
'name': 'German Country States',
'category': 'Localisation/Europe',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'author': 'initOS GmbH & Co. KG, '
'Antiun Ingeniería S.L.',
'Tecnativa, '
'Odoo Community Association (OCA)',
'website': 'https://odoo-community.org/',
'depends': [
'base',
'base_country_state_translatable',
],
'data': [
'data/res_country_states.xml'
],
'installable': False,
'installable': True,
}
4 changes: 2 additions & 2 deletions l10n_de_country_states/data/res_country_states.xml
@@ -1,4 +1,4 @@
<openerp>
<odoo>
<data>
<record id="res_country_state_BW" model="res.country.state">
<field model="res.country" name="country_id" search="[('code','=','DE')]" />
Expand Down Expand Up @@ -81,4 +81,4 @@
<field name="code">TH</field>
</record>
</data>
</openerp>
</odoo>
3 changes: 1 addition & 2 deletions l10n_de_country_states/i18n/de.po
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-11-28 08:14+0000\n"
"PO-Revision-Date: 2014-11-28 08:14+0000\n"
Expand Down Expand Up @@ -99,4 +99,3 @@ msgstr "Land Bundesland"
#: model:res.country.state,name:l10n_de_country_states.res_country_state_HE
msgid "Hesse"
msgstr "Hessen"

102 changes: 0 additions & 102 deletions l10n_de_country_states/i18n/l10n_de_country_states.pot

This file was deleted.

26 changes: 0 additions & 26 deletions l10n_de_country_states/models/__init__.py

This file was deleted.

32 changes: 0 additions & 32 deletions l10n_de_country_states/models/res_country.py

This file was deleted.

1 change: 1 addition & 0 deletions oca_dependencies.txt
@@ -0,0 +1 @@
partner-contact

0 comments on commit 1b5caf5

Please sign in to comment.