changes
This commit is contained in:
@@ -72,6 +72,17 @@ class FusionLoginAudit(models.Model):
|
||||
string='Device Type', default='unknown',
|
||||
)
|
||||
database = fields.Char(string='Database', size=64)
|
||||
login_kind = fields.Selection(
|
||||
[
|
||||
('interactive', 'Interactive'),
|
||||
('service', 'Service / Automation'),
|
||||
],
|
||||
string='Login Kind', default='interactive', index=True,
|
||||
help="Interactive = a real browser/HTTP login. Service = server-to-server "
|
||||
"auth (XML-RPC/JSON-RPC, cron, inter-instance sync) with no HTTP "
|
||||
"request. Service logins are hidden from the default Login Events "
|
||||
"view to keep it focused on real user activity.",
|
||||
)
|
||||
|
||||
# Odoo 19 replaces the legacy `_sql_constraints = [...]` list with
|
||||
# declarative `models.Constraint` attributes. The plan template used the
|
||||
|
||||
Reference in New Issue
Block a user