mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
11 lines
335 B
Python
11 lines
335 B
Python
from odoo import api, models, fields
|
|
|
|
class AccountPaymentMethod(models.Model):
|
|
_inherit = 'account.payment.method'
|
|
|
|
@api.model
|
|
def _get_payment_method_information(self):
|
|
res = super()._get_payment_method_information()
|
|
res['forte'] = {'mode': 'unique', 'domain': [('type', '=', 'bank')]}
|
|
return res
|