diff --git a/account_payment_mode/models/account_payment_method.py b/account_payment_mode/models/account_payment_method.py index 5387f3843..748027a4d 100644 --- a/account_payment_mode/models/account_payment_method.py +++ b/account_payment_mode/models/account_payment_method.py @@ -15,7 +15,10 @@ class AccountPaymentMethod(models.Model): "this payment method. Therefore, if you change it, " "the generation of the payment file may fail.") active = fields.Boolean(string='Active', default=True) - # In the pain_base module, we will add a default_pain_version + bank_account_required = fields.Boolean( + string='Bank Account Required', + help="Activate this option if this payment method requires you to " + "know the bank account number of your customer or supplier.") display_name = fields.Char( compute='compute_display_name', store=True, string='Display Name') diff --git a/account_payment_mode/views/account_payment_method.xml b/account_payment_mode/views/account_payment_method.xml index f912e45e9..f467f01f6 100644 --- a/account_payment_mode/views/account_payment_method.xml +++ b/account_payment_mode/views/account_payment_method.xml @@ -1,5 +1,5 @@ - + + @@ -59,4 +60,4 @@ here. I hate the objects that don't have a view... --> sequence="30" /> - +