From 3f0dbff990e93de0a8c653b859d4765f8d943210 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Thu, 22 Nov 2018 12:07:22 +0100 Subject: [PATCH] Finish migration to v11.0 --- .../models/mass_reconcile.py | 6 ++---- .../tests/test_account_reconcile_ref_deep_search.py | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/account_mass_reconcile_ref_deep_search/models/mass_reconcile.py b/account_mass_reconcile_ref_deep_search/models/mass_reconcile.py index d87018ab..b2b99407 100644 --- a/account_mass_reconcile_ref_deep_search/models/mass_reconcile.py +++ b/account_mass_reconcile_ref_deep_search/models/mass_reconcile.py @@ -7,10 +7,8 @@ class AccountMassReconcileMethod(models.Model): _inherit = 'account.mass.reconcile.method' - @api.model - def _get_all_rec_method(self): - _super = super(AccountMassReconcileMethod, self) - methods = _super._get_all_rec_method() + def _selection_name(self): + methods = super()._selection_name() methods += [ ('mass.reconcile.advanced.ref.deep.search', 'Advanced. Partner and Ref. Deep Search'), diff --git a/account_mass_reconcile_ref_deep_search/tests/test_account_reconcile_ref_deep_search.py b/account_mass_reconcile_ref_deep_search/tests/test_account_reconcile_ref_deep_search.py index b3540975..f168f426 100644 --- a/account_mass_reconcile_ref_deep_search/tests/test_account_reconcile_ref_deep_search.py +++ b/account_mass_reconcile_ref_deep_search/tests/test_account_reconcile_ref_deep_search.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2018 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo.tests import SavepointCase