From caa8fd3a934beb5a17bb39d99f864522bdfd2aa3 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 27 Sep 2017 09:55:40 +0200 Subject: [PATCH] [MIG] partner_phonecall_schedule: Migrated to v10 --- partner_phonecall_schedule/README.rst | 2 +- partner_phonecall_schedule/__openerp__.py | 2 +- partner_phonecall_schedule/i18n/es.po | 2 +- partner_phonecall_schedule/models/res_partner.py | 2 +- partner_phonecall_schedule/tests/test_schedule.py | 7 +++---- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/partner_phonecall_schedule/README.rst b/partner_phonecall_schedule/README.rst index edb7cc3b7..7fb1e3c3e 100644 --- a/partner_phonecall_schedule/README.rst +++ b/partner_phonecall_schedule/README.rst @@ -27,7 +27,7 @@ To filter partners available to call right now: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/111/9.0 + :target: https://runbot.odoo-community.org/runbot/111/10.0 Bug Tracker =========== diff --git a/partner_phonecall_schedule/__openerp__.py b/partner_phonecall_schedule/__openerp__.py index 4842005d2..0728ae592 100644 --- a/partner_phonecall_schedule/__openerp__.py +++ b/partner_phonecall_schedule/__openerp__.py @@ -4,7 +4,7 @@ { "name": "Partner phonecalls schedule", "summary": "Track the time and days your partners expect phone calls", - "version": "9.0.1.1.0", + "version": "10.0.1.0.0", "category": "Customer Relationship Management", "website": "https://github.com/OCA/crm", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/partner_phonecall_schedule/i18n/es.po b/partner_phonecall_schedule/i18n/es.po index 3427726fd..9744cca5c 100644 --- a/partner_phonecall_schedule/i18n/es.po +++ b/partner_phonecall_schedule/i18n/es.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 10.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-09-15 12:30+0000\n" "PO-Revision-Date: 2017-09-15 14:32+0200\n" diff --git a/partner_phonecall_schedule/models/res_partner.py b/partner_phonecall_schedule/models/res_partner.py index 71ef8e429..7e2b29f98 100644 --- a/partner_phonecall_schedule/models/res_partner.py +++ b/partner_phonecall_schedule/models/res_partner.py @@ -4,7 +4,7 @@ from __future__ import division from datetime import datetime -from openerp import api, fields, models +from odoo import api, fields, models class ResPartner(models.Model): diff --git a/partner_phonecall_schedule/tests/test_schedule.py b/partner_phonecall_schedule/tests/test_schedule.py index 133235f1f..8441e2fa1 100644 --- a/partner_phonecall_schedule/tests/test_schedule.py +++ b/partner_phonecall_schedule/tests/test_schedule.py @@ -4,11 +4,10 @@ from datetime import datetime, timedelta from mock import patch -from openerp import fields -from openerp.tests.common import SavepointCase +from odoo import fields +from odoo.tests.common import SavepointCase -PATH = ("openerp.addons.partner_phonecall_schedule.models" - ".res_partner.datetime") +PATH = "odoo.addons.partner_phonecall_schedule.models.res_partner.datetime" class CanICallCase(SavepointCase):