diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-07-31 11:01:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-31 11:01:45 +0200 |
| commit | ecc760b6aebbdb5e8f0eee72f8d057a8e38b1da0 (patch) | |
| tree | f74408784d850406104033e178d97cf9456628e9 /addons/gamification/static/src/js/crash_manager.js | |
| parent | caf6cb929b852209e84fa23efd10f58651d18d8e (diff) | |
| parent | 5ac167a85bde69460f8729bd4af3b249d05849fd (diff) | |
[MERGE] web, *: review crashmanager changes for backend/frontend
* gamification, website_forum, stock
Fix for: https://github.com/odoo/odoo/pull/32132
Some problems with the mentioned PR had to be fixed and after some
discussions, it was decided to revert back to the original crashmanager
warnings for the backend.
See sub-commits for details.
closes odoo/odoo#35209
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/gamification/static/src/js/crash_manager.js')
| -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"), + }; + }, +}); +}); |
