diff --git a/partner_employee_quantity/README.rst b/partner_employee_quantity/README.rst index ca6964326..b150d673c 100644 --- a/partner_employee_quantity/README.rst +++ b/partner_employee_quantity/README.rst @@ -14,7 +14,7 @@ Configuration To manage available ranges, you need to: -* Go to *Sales > Configuration > Address Book > Ranges by quantity of employees*. +* Go to *Sales > Configuration > Contacts > Ranges by quantity of employees*. Usage ===== @@ -27,7 +27,7 @@ To use this module, you need to: .. 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/8.0 + :target: https://runbot.odoo-community.org/runbot/134/10.0 Bug Tracker =========== @@ -44,17 +44,13 @@ partner_employee_quantity%0Aversion:%20 Credits ======= -Images ------- - -* `Antiun Ingeniería S.L. `_: Icon. - Contributors ------------ -* Antonio Espinosa -* Rafael Blasco -* Jairo Llopis +* Antonio Espinosa +* Rafael Blasco +* Jairo Llopis +* David Vidal Maintainer ---------- diff --git a/partner_employee_quantity/__init__.py b/partner_employee_quantity/__init__.py index 8e6d7e45a..cde864bae 100644 --- a/partner_employee_quantity/__init__.py +++ b/partner_employee_quantity/__init__.py @@ -1,6 +1,3 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/partner_employee_quantity/__openerp__.py b/partner_employee_quantity/__manifest__.py similarity index 56% rename from partner_employee_quantity/__openerp__.py rename to partner_employee_quantity/__manifest__.py index 0d3c0ab64..dc473087d 100644 --- a/partner_employee_quantity/__openerp__.py +++ b/partner_employee_quantity/__manifest__.py @@ -1,19 +1,22 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis +# Copyright 2017 David Vidal # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Employee quantity in partners', 'summary': 'Know how many employees a partner has', - 'version': '8.0.1.0.0', + 'version': '10.0.1.0.0', 'category': 'Customer Relationship Management', - "author": "Antiun Ingeniería S.L., Odoo Community Association (OCA)", + "author": 'Antiun Ingeniería S.L., ' + 'Tecnativa, ' + 'Odoo Community Association (OCA)', "license": "AGPL-3", "application": False, - 'website': 'http://www.antiun.com', + 'website': 'http://www.tecnativa.com', 'depends': [ - 'base', + 'sale', ], 'data': [ 'security/ir.model.access.csv', diff --git a/partner_employee_quantity/models/__init__.py b/partner_employee_quantity/models/__init__.py index 44ab9476e..f261da797 100644 --- a/partner_employee_quantity/models/__init__.py +++ b/partner_employee_quantity/models/__init__.py @@ -1,6 +1,3 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import res_partner diff --git a/partner_employee_quantity/models/res_partner.py b/partner_employee_quantity/models/res_partner.py index 0bff10d55..39f5310cf 100644 --- a/partner_employee_quantity/models/res_partner.py +++ b/partner_employee_quantity/models/res_partner.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, fields +from odoo import models, fields class ResPartner(models.Model): diff --git a/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml b/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml index 429640911..5883b90d3 100644 --- a/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml +++ b/partner_employee_quantity/views/res_partner_employee_quantity_range_view.xml @@ -1,6 +1,5 @@ - - + Ranges by quantity of employees @@ -21,7 +20,6 @@ + parent="sales_team.menu_config_address_book"/> - - + diff --git a/partner_employee_quantity/views/res_partner_view.xml b/partner_employee_quantity/views/res_partner_view.xml index ad2c60461..0fdb44506 100644 --- a/partner_employee_quantity/views/res_partner_view.xml +++ b/partner_employee_quantity/views/res_partner_view.xml @@ -1,6 +1,5 @@ - - + Partner form with employees @@ -23,7 +22,7 @@ res.partner - + @@ -31,5 +30,4 @@ - - +