Finish migration to v11.0

pull/277/head
Akim Juillerat 2018-11-22 12:07:22 +01:00 committed by Iryna Vushnevska
parent 702461b265
commit 6035b312a9
2 changed files with 3 additions and 6 deletions

View File

@ -1,16 +1,14 @@
# Copyright 2015-2018 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
from odoo import api, models
from odoo import models
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'),

View File

@ -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