mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] payment_forte: to 15.0, add forte_type logic, clean-up code (WIP)
H4431
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
from odoo import api, models
|
||||
|
||||
from odoo import api, models, fields
|
||||
|
||||
class AccountPaymentMethod(models.Model):
|
||||
_inherit = 'account.payment.method'
|
||||
|
||||
forte_type = fields.Selection([
|
||||
('echeck', 'eCheck'),
|
||||
('creditcard', 'Credit Card'),
|
||||
])
|
||||
|
||||
@api.model
|
||||
def _get_payment_method_information(self):
|
||||
res = super()._get_payment_method_information()
|
||||
|
||||
Reference in New Issue
Block a user