fix china account level,上下级结构处理

This commit is contained in:
ivan deng
2023-03-01 23:39:49 +08:00
parent 811646c30d
commit 4aa36c65e0
35 changed files with 351 additions and 40 deletions

View File

@@ -6,7 +6,7 @@ from odoo import fields, models
class ResUsers(models.Model):
_inherit = "res.users"
gpt_id = fields.Many2one('gpt.robot', string='Bind to ChatGpt')
gpt_id = fields.Many2one('ai.robot', string='Bind to ChatGpt')
gpt_policy = fields.Selection([
('all', 'All Users'),
('limit', 'Selected Users')