from odoo import models, fields class ResUsers(models.Model): _inherit = 'res.users' allowed_manufacture_product_ids = fields.Many2many( 'product.product', 'res_users_product_mrp_rel', 'user_id', 'product_id', string="Allowed Products Manufacture", help="Allowed products for Manufacturing Orders. If empty, no products are allowed." )