[ADD] maintenance_user_ssh_key: create add-on

This commit is contained in:
Stéphan Sainléger
2026-07-07 12:01:42 +02:00
parent ae5977ef81
commit 6e19575012
10 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2026 Stéphan Sainléger (Elabore)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ResUsers(models.Model):
_inherit = "res.users"
ssh_key_ids = fields.One2many(
comodel_name="ssh.key",
inverse_name="user_id",
string="SSH Keys",
)