mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
19 lines
534 B
Python
19 lines
534 B
Python
# Copyright 2020 ForgeFlow S.L.
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class AccountMassReconcileMethod(models.Model):
|
|
_inherit = "account.mass.reconcile.method"
|
|
|
|
def _selection_name(self):
|
|
methods = super(AccountMassReconcileMethod, self)._selection_name()
|
|
methods += [
|
|
(
|
|
"mass.reconcile.advanced.by.purchase.line",
|
|
"Advanced. Product, purchase order line.",
|
|
),
|
|
]
|
|
return methods
|