You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
564 B

from odoo import models, fields
class PosConfig(models.Model):
_inherit = 'pos.config'
use_jsprintmanager = fields.Boolean()
jsprintmanager_default_receipt_printer = fields.Char(
string='Default Printer for Receipts',
help='Enter the name of the default printer to be used in receipts')
jsprintmanager_output_format = fields.Selection(
string='Printer output format',
selection=[
('normal', 'Normal'),
('escpos', 'ESC/POS')
],
help='Enter the format used by the printer')