Browse Source

[MIG] partner_contact_job_position: Migration to 10.0

pull/621/head
David Vidal 8 years ago
committed by mreficent
parent
commit
c6e5308352
  1. 14
      partner_contact_job_position/README.rst
  2. 10
      partner_contact_job_position/__init__.py
  3. 16
      partner_contact_job_position/__manifest__.py
  4. 2
      partner_contact_job_position/i18n/de.po
  5. 2
      partner_contact_job_position/i18n/es.po
  6. 2
      partner_contact_job_position/i18n/eu.po
  7. 2
      partner_contact_job_position/i18n/fi.po
  8. 2
      partner_contact_job_position/i18n/it.po
  9. 2
      partner_contact_job_position/i18n/sl.po
  10. 10
      partner_contact_job_position/models/__init__.py
  11. 15
      partner_contact_job_position/models/res_partner.py
  12. 8
      partner_contact_job_position/views/res_partner_job_position_view.xml
  13. 8
      partner_contact_job_position/views/res_partner_view.xml

14
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
<https://github.com/OCA/
partner-contact/issues/new?body=module:%20
{module_name}%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Images
------
* `Antiun Ingeniería S.L. <http://www.antiun.com>`_: Icon.
Contributors
------------
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Antonio Espinosa <antonioea@antiun.com>
* Rafael Blasco <rafabn@antiun.com>
* Rafael Blasco <rafael.blasco@tecnativa.com>
* Jairo Llopis <yajo.sk8@gmail.com>
* David Vidal <david.vidal@tecnativa.com>
Maintainer
----------

10
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 <pedro.baeza@serviciosbaeza.com>
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 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 <pedro.baeza@tecnativa.com>
# Copyright 2015 Antonio Espinosa <antonioea@antiun.com>
# Copyright 2015 Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import models

16
partner_contact_job_position/__openerp__.py → 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 <pedro.baeza@serviciosbaeza.com>
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 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 <pedro.baeza@tecnativa.com>
# Copyright 2015 Antonio Espinosa <antonioea@antiun.com>
# Copyright 2015 Jairo Llopis <jairo.llopis@tecnativa.com>
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
# 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',

2
partner_contact_job_position/i18n/de.po

@ -6,7 +6,7 @@
# Rudolf Schnapka <rs@techno-flex.de>, 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"

2
partner_contact_job_position/i18n/es.po

@ -6,7 +6,7 @@
# Oihane Crucelaegui <oihanecruce@gmail.com>, 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"

2
partner_contact_job_position/i18n/eu.po

@ -6,7 +6,7 @@
# Esther Martín Menéndez <esthermartin001@gmail.com>, 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"

2
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"

2
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"

2
partner_contact_job_position/i18n/sl.po

@ -6,7 +6,7 @@
# Matjaž Mozetič <m.mozetic@matmoz.si>, 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"

10
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 <pedro.baeza@serviciosbaeza.com>
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 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 <pedro.baeza@tecnativa.com>
# Copyright 2015 Antonio Espinosa <antonioea@antiun.com>
# Copyright 2015 Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import res_partner

15
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 <pedro.baeza@serviciosbaeza.com>
# Copyright (c) 2015 Antiun Ingeniería S.L. (http://www.antiun.com)
# Antonio Espinosa <antonioea@antiun.com>
# © 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 <pedro.baeza@tecnativa.com>
# Copyright 2015 Antonio Espinosa <antonioea@antiun.com>
# Copyright 2015 Jairo Llopis <jairo.llopis@tecnativa.com>
# 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):

8
partner_contact_job_position/views/res_partner_job_position_view.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="res_partner_job_position_action" model="ir.actions.act_window">
<field name="name">Job Positions</field>
@ -36,7 +35,6 @@
<menuitem action="res_partner_job_position_action"
id="menu_res_partner_job_position"
parent="base.menu_config_address_book"/>
parent="sales_team.menu_config_address_book"/>
</data>
</openerp>
</odoo>

8
partner_contact_job_position/views/res_partner_view.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record model="ir.ui.view" id="view_partner_form_job_position">
<field name="name">Partner form with job position</field>
@ -29,7 +28,7 @@
<field name="category_id" position="after">
<field name="job_position_id"/>
</field>
<filter string="Salesperson" position="after">
<filter name="salesperson" position="after">
<filter string="Job position"
domain="[('is_company','=', True)]"
context="{'group_by': 'job_position_id'}"/>
@ -37,5 +36,4 @@
</field>
</record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save