Finish migration to v11.0
parent
702461b265
commit
6035b312a9
|
@ -1,16 +1,14 @@
|
||||||
# Copyright 2015-2018 Camptocamp SA
|
# Copyright 2015-2018 Camptocamp SA
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
# 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):
|
class AccountMassReconcileMethod(models.Model):
|
||||||
|
|
||||||
_inherit = 'account.mass.reconcile.method'
|
_inherit = 'account.mass.reconcile.method'
|
||||||
|
|
||||||
@api.model
|
def _selection_name(self):
|
||||||
def _get_all_rec_method(self):
|
methods = super()._selection_name()
|
||||||
_super = super(AccountMassReconcileMethod, self)
|
|
||||||
methods = _super._get_all_rec_method()
|
|
||||||
methods += [
|
methods += [
|
||||||
('mass.reconcile.advanced.ref.deep.search',
|
('mass.reconcile.advanced.ref.deep.search',
|
||||||
'Advanced. Partner and Ref. Deep Search'),
|
'Advanced. Partner and Ref. Deep Search'),
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2018 Camptocamp SA
|
# Copyright 2018 Camptocamp SA
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
from odoo.tests import SavepointCase
|
from odoo.tests import SavepointCase
|
||||||
|
|
Loading…
Reference in New Issue