diff options
| author | fja-odoo <fja@odoo.com> | 2019-07-25 09:26:39 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-07-30 16:00:05 +0000 |
| commit | 09681e566013433157fd96818ed7b767a14ef758 (patch) | |
| tree | 6f1576123fd072374e24c7532ac0e7c4ca3aadd5 /addons/gamification/static | |
| parent | 2d6dc75a2cb5fa81189920d0f7fdc7b7f12132ab (diff) | |
[FIX] gamification, web: separate gamification/crash_manager
Fix for: https://github.com/odoo/odoo/pull/32132
A reference to gamification was still made in the crash_manager.
Part of: https://github.com/odoo/odoo/pull/35209
Diffstat (limited to 'addons/gamification/static')
| -rw-r--r-- | addons/gamification/static/src/js/crash_manager.js | 20 |
1 files changed, 20 insertions, 0 deletions
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"), + }; + }, +}); +}); |
