sf工单优化及权限

This commit is contained in:
gqh
2023-01-04 10:13:29 +08:00
parent dd5c387585
commit 08efe7813d
7 changed files with 96 additions and 24 deletions

View File

@@ -0,0 +1,7 @@
# -*- 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')