From 241ff6b84d8183d344ef74d18524efab078a3be9 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Tue, 31 Jan 2017 16:22:16 -0800 Subject: [PATCH] [MIG] partner_password_reset: Upgrade to v10 * Rename manifest * Update openerp references to odoo * Bump version --- partner_password_reset/{__openerp__.py => __manifest__.py} | 2 +- partner_password_reset/models/res_partner.py | 2 +- partner_password_reset/tests/test_res_partner.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename partner_password_reset/{__openerp__.py => __manifest__.py} (95%) diff --git a/partner_password_reset/__openerp__.py b/partner_password_reset/__manifest__.py similarity index 95% rename from partner_password_reset/__openerp__.py rename to partner_password_reset/__manifest__.py index 1e99450c3..14eee0b3a 100755 --- a/partner_password_reset/__openerp__.py +++ b/partner_password_reset/__manifest__.py @@ -6,7 +6,7 @@ "name": "Partner User Password Reset", "summary": "Add Action to allow resetting of a Partner's associated user " "password from within the partner view.", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "category": "Customer Relationship Management", "website": "https://laslabs.com/", "author": "LasLabs, " diff --git a/partner_password_reset/models/res_partner.py b/partner_password_reset/models/res_partner.py index a0d378694..8036203bb 100644 --- a/partner_password_reset/models/res_partner.py +++ b/partner_password_reset/models/res_partner.py @@ -2,7 +2,7 @@ # Copyright 2017 LasLabs Inc. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, models +from odoo import api, models class ResPartner(models.Model): diff --git a/partner_password_reset/tests/test_res_partner.py b/partner_password_reset/tests/test_res_partner.py index a2dfa23b8..b473cfa2b 100644 --- a/partner_password_reset/tests/test_res_partner.py +++ b/partner_password_reset/tests/test_res_partner.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from mock import MagicMock -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase class TestResPartner(TransactionCase):