summaryrefslogtreecommitdiff
path: root/addons/pos_hr/models/pos_config.py
blob: efa05ca6dcfd9eb842e965504fd4f47663412f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- 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')