Files
test/sf_manufacturing/models/res_user.py
qihao.gong@jikimo.com 0077d97cfa master-sf1.0
2023-05-06 16:03:00 +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')