pos_config.py 317 B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. from functools import partial
  3. from odoo import models, fields
  4. class PosConfig(models.Model):
  5. _inherit = 'pos.config'
  6. employee_ids = fields.Many2many(
  7. 'hr.employee', string="Employees with access",
  8. help='If left empty, all employees can log in to the PoS session')