opt client

This commit is contained in:
Ivan Office
2024-12-05 04:00:12 +08:00
parent 0b3e3be378
commit a2ad59b66a
4 changed files with 12 additions and 6 deletions

View File

@@ -12,3 +12,5 @@ class AuthOAuthProvider(models.Model):
# 取code的url主要针对国内的先取code再拿Token的方式
code_endpoint = fields.Char(string='Token by Code Endpoint', help='Get Token from Code. Only for Code response type.')
user_template_id = fields.Many2one('res.users', string='New User Template',
domain=[('active', '=', False)])