Files
bank-payment/account_banking_mandate/models/account_payment_method.py
manu 4cb5221dec [MIG]account_banking_mandate: Migration to 15.0
[UPD] Update account_banking_mandate.pot

[UPD] README.rst
2024-03-02 12:19:39 +01:00

14 lines
458 B
Python

# Copyright 2016-2020 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class AccountPaymentMethod(models.Model):
_inherit = "account.payment.method"
mandate_required = fields.Boolean(
help="Activate this option if this payment method requires your "
"customer to sign a direct debit mandate with your company.",
)