Files
bank-payment/account_payment_partner/models/account_payment_method.py

15 lines
509 B
Python

# -*- coding: utf-8 -*-
# © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields
class AccountPaymentMethod(models.Model):
_inherit = "account.payment.method"
bank_account_required = fields.Boolean(
string='Bank Account Required',
help="Activate this option if this payment method requires to "
"set the bank account of your supplier on the vendor bills.")