Add possibility to print orders on an ePOS compatible Epson receipt printer located in the same local network than the browser running the pos. TaskID: 2033442
12 lines
434 B
Python
12 lines
434 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
class RestaurantPrinter(models.Model):
|
|
|
|
_inherit = 'restaurant.printer'
|
|
|
|
printer_type = fields.Selection(selection_add=[('epson_epos', 'Use an Epson printer')])
|
|
epson_printer_ip = fields.Char(string='Epson Receipt Printer IP Address', help="Local IP address of an Epson receipt printer.")
|