diff --git a/addons/gamification/static/src/js/crash_manager.js b/addons/gamification/static/src/js/crash_manager.js new file mode 100644 index 00000000000..f655f06dec0 --- /dev/null +++ b/addons/gamification/static/src/js/crash_manager.js @@ -0,0 +1,20 @@ +odoo.define('gamification.CrashManager', function (require) { +"use strict"; + +const core = require('web.core'); +const CrashManager = require('web.CrashManager').CrashManager; + +const _lt = core._lt; + +CrashManager.include({ + /** + * @override + */ + getMapTitle() { + return { + ...this._super(...arguments), + karma_error: _lt("Karma Error"), + }; + }, +}); +}); diff --git a/addons/gamification/views/gamification.xml b/addons/gamification/views/gamification.xml index 08341ac83c0..b9217e26d9a 100644 --- a/addons/gamification/views/gamification.xml +++ b/addons/gamification/views/gamification.xml @@ -4,4 +4,10 @@ + +