diff --git a/partner_contact_nationality/README.rst b/partner_contact_nationality/README.rst index 41adf0c86..026a5d327 100644 --- a/partner_contact_nationality/README.rst +++ b/partner_contact_nationality/README.rst @@ -32,7 +32,7 @@ For further information, please visit: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/9.0 + :target: https://runbot.odoo-community.org/runbot/134/10.0 Known issues / Roadmap ====================== @@ -48,7 +48,7 @@ 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 `_. +10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. Credits @@ -62,6 +62,7 @@ Contributors * Matjaž Mozetič * Rudolf Schnapka * Richard deMeester +* Denis Roussel Maintainer ---------- diff --git a/partner_contact_nationality/__manifest__.py b/partner_contact_nationality/__manifest__.py index b52e6724a..0bde7e125 100644 --- a/partner_contact_nationality/__manifest__.py +++ b/partner_contact_nationality/__manifest__.py @@ -5,17 +5,18 @@ { "name": "Contact nationality", "summary": "Add nationality field to contacts", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "category": "Customer Relationship Management", "website": "https://odoo-community.org/", "author": "Grupo ESOC, Odoo Community Association (OCA)", "contributors": [ 'Jairo Llopis ', 'Richard deMeester ', + 'Denis Roussel ', ], "license": "AGPL-3", 'application': False, - 'installable': False, + 'installable': True, 'auto_install': False, "depends": [ "partner_contact_personal_information_page", diff --git a/partner_contact_nationality/models/res_partner.py b/partner_contact_nationality/models/res_partner.py index 2883e2766..2c19b7201 100644 --- a/partner_contact_nationality/models/res_partner.py +++ b/partner_contact_nationality/models/res_partner.py @@ -2,7 +2,7 @@ # Copyright (C) 2014-2015 Grupo ESOC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import fields, models +from odoo import fields, models class ResPartner(models.Model): diff --git a/setup/partner_contact_nationality/odoo/__init__.py b/setup/partner_contact_nationality/odoo/__init__.py new file mode 100644 index 000000000..de40ea7ca --- /dev/null +++ b/setup/partner_contact_nationality/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/partner_contact_nationality/odoo/addons/__init__.py b/setup/partner_contact_nationality/odoo/addons/__init__.py new file mode 100644 index 000000000..de40ea7ca --- /dev/null +++ b/setup/partner_contact_nationality/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/partner_contact_nationality/odoo/addons/partner_contact_nationality b/setup/partner_contact_nationality/odoo/addons/partner_contact_nationality new file mode 120000 index 000000000..cf451b7c0 --- /dev/null +++ b/setup/partner_contact_nationality/odoo/addons/partner_contact_nationality @@ -0,0 +1 @@ +../../../../partner_contact_nationality/ \ No newline at end of file diff --git a/setup/partner_contact_nationality/setup.py b/setup/partner_contact_nationality/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/partner_contact_nationality/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)