mirror of
https://github.com/bringout/oca-server-auth.git
synced 2026-04-22 20:12:02 +02:00
Initial commit: OCA Server Auth packages (29 packages)
This commit is contained in:
commit
3ed80311c4
1325 changed files with 127292 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright (C) 2024 Akretion (<http://www.akretion.com>).
|
||||
# @author Kévin Roche <kevin.roche@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ImpersonateLog(models.Model):
|
||||
_name = "impersonate.log"
|
||||
_description = "Impersonate Logs"
|
||||
|
||||
user_id = fields.Many2one(
|
||||
comodel_name="res.users",
|
||||
)
|
||||
impersonated_partner_id = fields.Many2one(
|
||||
comodel_name="res.partner",
|
||||
string="Logged as",
|
||||
)
|
||||
date_start = fields.Datetime(
|
||||
string="Start Date",
|
||||
)
|
||||
date_end = fields.Datetime(
|
||||
string="End Date",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue