[UPD] Modify the authentification process to Github

Now use a sole Github access for whole Odoo users, set in the General Configuration
This commit is contained in:
Stéphan Sainléger
2022-07-01 09:52:30 +02:00
parent 42867f0bb0
commit 194422e2a9
7 changed files with 43 additions and 25 deletions

View File

@@ -0,0 +1,9 @@
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
github_token = fields.Char(
related="company_id.github_token", string="Github token", readonly=False
)