Files
bank-payment/account_banking_mandate/models/account_payment_method.py
Jordi Ballester 0f75e914f0 add rests. Add better multicompany support
add tests and constrains
2017-11-16 15:14:49 +01:00

14 lines
482 B
Python

# Copyright 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import models, fields
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.")