diff --git a/partner_contact_job_position/README.rst b/partner_contact_job_position/README.rst index 00f2706d0..f5169aa3c 100644 --- a/partner_contact_job_position/README.rst +++ b/partner_contact_job_position/README.rst @@ -28,7 +28,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 =========== @@ -40,23 +40,19 @@ help us smashing it by providing a detailed and welcomed `feedback `_. +10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. Credits ======= -Images ------- - -* `Antiun Ingeniería S.L. `_: Icon. - Contributors ------------ -* Pedro M. Baeza +* Pedro M. Baeza * Antonio Espinosa -* Rafael Blasco +* Rafael Blasco * Jairo Llopis +* David Vidal Maintainer ---------- diff --git a/partner_contact_job_position/__init__.py b/partner_contact_job_position/__init__.py index 9af8488e4..a51fa8070 100644 --- a/partner_contact_job_position/__init__.py +++ b/partner_contact_job_position/__init__.py @@ -1,9 +1,7 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) -# Pedro M. Baeza -# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com) -# Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2014 Pedro M. Baeza +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from . import models diff --git a/partner_contact_job_position/__openerp__.py b/partner_contact_job_position/__manifest__.py similarity index 57% rename from partner_contact_job_position/__openerp__.py rename to partner_contact_job_position/__manifest__.py index 3e4521aad..5bb313b97 100644 --- a/partner_contact_job_position/__openerp__.py +++ b/partner_contact_job_position/__manifest__.py @@ -1,25 +1,25 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) -# Pedro M. Baeza -# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com) -# Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2014 Pedro M. Baeza +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis +# Copyright 2017 David Vidal +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { "name": "Partner job position", "summary": "Categorize job positions for contacts", - "version": "8.0.1.0.0", + "version": "10.0.1.0.0", 'category': 'Customer Relationship Management', "website": "http://www.antiun.com", 'author': 'Serv. Tecnolog. Avanzados - Pedro M. Baeza, ' 'Antiun Ingeniería S.L., ' + 'Tecnativa,' "Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, "installable": True, "depends": [ - "base", + "sale", ], "data": [ 'security/ir.model.access.csv', diff --git a/partner_contact_job_position/i18n/de.po b/partner_contact_job_position/i18n/de.po index 422981a5b..2a163f7c8 100644 --- a/partner_contact_job_position/i18n/de.po +++ b/partner_contact_job_position/i18n/de.po @@ -6,7 +6,7 @@ # Rudolf Schnapka , 2016-2017 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-02-21 16:57+0000\n" "PO-Revision-Date: 2017-02-24 22:29+0000\n" diff --git a/partner_contact_job_position/i18n/es.po b/partner_contact_job_position/i18n/es.po index b9b716691..c1fb25767 100644 --- a/partner_contact_job_position/i18n/es.po +++ b/partner_contact_job_position/i18n/es.po @@ -6,7 +6,7 @@ # Oihane Crucelaegui , 2016 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.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" diff --git a/partner_contact_job_position/i18n/eu.po b/partner_contact_job_position/i18n/eu.po index 8514a7916..c44d8d523 100644 --- a/partner_contact_job_position/i18n/eu.po +++ b/partner_contact_job_position/i18n/eu.po @@ -6,7 +6,7 @@ # Esther Martín Menéndez , 2017 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-02-21 16:57+0000\n" "PO-Revision-Date: 2017-02-23 15:56+0000\n" diff --git a/partner_contact_job_position/i18n/fi.po b/partner_contact_job_position/i18n/fi.po index ae63e6dfd..162620a5d 100644 --- a/partner_contact_job_position/i18n/fi.po +++ b/partner_contact_job_position/i18n/fi.po @@ -5,7 +5,7 @@ # Translators: msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-01-19 01:46+0000\n" "PO-Revision-Date: 2015-12-22 15:01+0000\n" diff --git a/partner_contact_job_position/i18n/it.po b/partner_contact_job_position/i18n/it.po index b5044107c..396b8f275 100644 --- a/partner_contact_job_position/i18n/it.po +++ b/partner_contact_job_position/i18n/it.po @@ -6,7 +6,7 @@ # Paolo Valier, 2016 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-03-13 00:57+0000\n" "PO-Revision-Date: 2016-03-13 17:22+0000\n" diff --git a/partner_contact_job_position/i18n/sl.po b/partner_contact_job_position/i18n/sl.po index a991a8beb..f7cf4d88b 100644 --- a/partner_contact_job_position/i18n/sl.po +++ b/partner_contact_job_position/i18n/sl.po @@ -6,7 +6,7 @@ # Matjaž Mozetič , 2015-2016 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: partner-contact (10.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-05-07 07:18+0000\n" "PO-Revision-Date: 2016-05-07 07:15+0000\n" diff --git a/partner_contact_job_position/models/__init__.py b/partner_contact_job_position/models/__init__.py index 213b25fdc..3d828f7b3 100644 --- a/partner_contact_job_position/models/__init__.py +++ b/partner_contact_job_position/models/__init__.py @@ -1,9 +1,7 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) -# Pedro M. Baeza -# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com) -# Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2014 Pedro M. Baeza +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from . import res_partner diff --git a/partner_contact_job_position/models/res_partner.py b/partner_contact_job_position/models/res_partner.py index 19522ec01..e43c62def 100644 --- a/partner_contact_job_position/models/res_partner.py +++ b/partner_contact_job_position/models/res_partner.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com) -# Pedro M. Baeza -# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com) -# Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2014 Pedro M. Baeza +# Copyright 2015 Antonio Espinosa +# Copyright 2015 Jairo Llopis +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from openerp import models, fields +from odoo import models, fields class ResPartner(models.Model): @@ -14,8 +12,7 @@ class ResPartner(models.Model): job_position_id = fields.Many2one( "res.partner.job_position", - "Categorized job position", - oldname="job_position") + "Categorized job position",) class ResPartnerJobPosition(models.Model): diff --git a/partner_contact_job_position/views/res_partner_job_position_view.xml b/partner_contact_job_position/views/res_partner_job_position_view.xml index e70b45a91..5326e9502 100644 --- a/partner_contact_job_position/views/res_partner_job_position_view.xml +++ b/partner_contact_job_position/views/res_partner_job_position_view.xml @@ -1,6 +1,5 @@ - - + Job Positions @@ -36,7 +35,6 @@ + parent="sales_team.menu_config_address_book"/> - - + diff --git a/partner_contact_job_position/views/res_partner_view.xml b/partner_contact_job_position/views/res_partner_view.xml index f1a2a0e45..1ab12436e 100644 --- a/partner_contact_job_position/views/res_partner_view.xml +++ b/partner_contact_job_position/views/res_partner_view.xml @@ -1,6 +1,5 @@ - - + Partner form with job position @@ -29,7 +28,7 @@ - + @@ -37,5 +36,4 @@ - - +