summaryrefslogtreecommitdiff
path: root/addons/pos_epson_printer_restaurant/models/pos_restaurant.py
blob: b409771ae9cd71a1ad40e4823d3bc98e1503fbc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- 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.")