odoo 最近老提示:会话过期原因分析
odoo 最近老提示:会话过期
×
Your Odoo session expired. The current page is about to be refreshed.
不知什么原因引起的?
通过查询原码:
/** @odoo-module */ // This module makes it so that some errors only display a notification instead of an error dialog import { registry } from "@web/core/registry"; import { odooExceptionTitleMap } from "@web/core/errors/error_dialogs"; import { _t } from "@web/core/l10n/translation"; odooExceptionTitleMap.forEach((title, exceptionName) => { registry.category("error_notifications").add(exceptionName, { title: title, type: "warning", sticky: true }); }); //Your Odoo session expired. The current p