Files
enterprise-addons/pos_iot_six/models/pos_payment_method.py
T

12 lines
320 B
Python

# coding: utf-8
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class PosPaymentMethod(models.Model):
_inherit = 'pos.payment.method'
def _get_payment_terminal_selection(self):
return super()._get_payment_terminal_selection() + [('six_iot', 'SIX')]