Odoo18-Base/addons/pos_hr/models/pos_config.py

14 lines
317 B
Python
Raw Permalink Normal View History

2025-03-10 11:12:23 +07:00
# -*- coding: utf-8 -*-
from functools import partial
from odoo import models, fields
class PosConfig(models.Model):
_inherit = 'pos.config'
employee_ids = fields.Many2many(
'hr.employee', string="Employees with access",
help='If left empty, all employees can log in to the PoS session')