Files
test/sf_manufacturing/models/res_user.py
2023-01-04 10:13:29 +08:00

7 lines
219 B
Python

# -*- coding: utf-8 -*-
from odoo import SUPERUSER_ID, _, api, fields, models, registry
class Users(models.Model):
_inherit = 'res.users'
workcenter_ids = fields.Many2many("mrp.workcenter", 'users_workcenter')