20 lines
631 B
Python
20 lines
631 B
Python
# Copyright 2013-2019 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
|
from odoo import api, models
|
|
|
|
|
|
class AccountMassReconcileMethod(models.Model):
|
|
|
|
_inherit = 'account.mass.reconcile.method'
|
|
|
|
@api.model
|
|
def _get_reconcilation_methods(self):
|
|
methods = super()._get_reconcilation_methods()
|
|
methods += [
|
|
('mass.reconcile.advanced.transaction_ref',
|
|
'Advanced. Partner and Transaction Ref.'),
|
|
('mass.reconcile.advanced.trans_ref_vs_ref',
|
|
'Advanced. Partner and Transaction Ref. vs Ref.'),
|
|
]
|
|
return methods
|