sf工单优化及权限
This commit is contained in:
7
sf_manufacturing/models/res_user.py
Normal file
7
sf_manufacturing/models/res_user.py
Normal 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')
|
||||
Reference in New Issue
Block a user