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.

10 lines
381 B

  1. from odoo import models, fields
  2. class PosConfig(models.Model):
  3. _inherit = 'pos.config'
  4. assigned_user_ids = fields.Many2many(
  5. "res.users", string="Assigned users",
  6. help="Restrict some users to only access their assigned points of sale. "
  7. "In order to apply the restriction, the user needs the "
  8. "'User: Assigned POS Only' group")