summaryrefslogtreecommitdiff
path: root/addons/pos_six/models/pos_payment_method.py
blob: 71a165c636e77addf08baf8814434731c29f4a8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding: utf-8
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import fields, models


class PosPaymentMethod(models.Model):
    _inherit = 'pos.payment.method'

    def _get_payment_terminal_selection(self):
        return super(PosPaymentMethod, self)._get_payment_terminal_selection() + [('six', 'SIX')]

    six_terminal_ip = fields.Char('Six Terminal IP')