pos_bluetooth_thermal_printer/models/pos_config.py
2025-11-21 05:52:53 +07:00

15 lines
448 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields
class PosConfig(models.Model):
_inherit = 'pos.config'
bluetooth_printer_enabled = fields.Boolean(
string='Enable Bluetooth Printer',
default=False,
help='Enable bluetooth thermal printer support for this POS. '
'When enabled, the POS will attempt to connect to a bluetooth '
'thermal printer configured on each device.'
)