bank-payment/account_banking_mandate/models/account_payment_method.py

15 lines
496 B
Python
Raw Permalink Normal View History

2021-03-12 16:21:19 +00:00
# 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 flectra import fields, models
class AccountPaymentMethod(models.Model):
_inherit = "account.payment.method"
mandate_required = fields.Boolean(
string="Mandate Required",
help="Activate this option if this payment method requires your "
"customer to sign a direct debit mandate with your company.",
)