Deprecate MPD integration for Six payment terminals and replace it with TIM because: - MPD broadcasts connection messages to the network so having multiple terminals and MPD servers in the same network results in connection issues - TIM has a JS SDK so it doesn't require an IoT Box. - MPD supports only Yomani and Yoximo terminals while TIM also supports Ingenico. closes odoo/odoo#46789 Taskid: 2188566 Related: odoo/upgrade#903 Related: odoo/enterprise#8994 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
14 lines
400 B
Python
14 lines
400 B
Python
# 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')
|