mirror of
https://github.com/bringout/oca-web.git
synced 2026-04-18 14:32:05 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
335 B
Python
11 lines
335 B
Python
from odoo import models
|
|
|
|
|
|
class Http(models.AbstractModel):
|
|
_inherit = "ir.http"
|
|
|
|
def session_info(self):
|
|
IrConfigSudo = self.env["ir.config_parameter"].sudo()
|
|
session_info = super().session_info()
|
|
session_info.update({"web_m2x_options": IrConfigSudo.get_web_m2x_options()})
|
|
return session_info
|