Changes the current URL to enable / disable Odoo debug / assets mode.

Latest Version

Version
2.0
Update
December 22, 2023
Size
4.73KiB
Developer
Category
Users
40
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Tabs
See more

Odoo Debug Mode Switcher Extension

Why?

Because Odoo works a bit different if the debug mode or the assets mode is enabled. See the Odoo official documentation:

https://www.odoo.com/documentation/15.0/applications/general/developer_mode.html#activate-through-the-url

Usage

Only shortcuts. Default ones:

Alt+Shift+1 - Enable debug mode
Alt+Shift+2 - Enable assets mode
Alt+Shift+3 - Disable debug / assets mode

Go to `chrome://extensions/shortcuts` to change keybindings.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Odoo Debug Mode Switcher", "version": "2.0", "description": "Changes the current URL to enable / disable Odoo debug / assets mode.", "background": { "service_worker": "service-worker.js" }, "commands": { "debug": { "suggested_key": { "default": "Alt+Shift+1" }, "description": "Enable debug mode" }, "debug-assets": { "suggested_key": { "default": "Alt+Shift+2" }, "description": "Enable assets mode" }, "no-debug": { "suggested_key": { "default": "Alt+Shift+3" }, "description": "Disable debug / assets mode" } }, "permissions": [ "tabs" ], "manifest_version": 3}
Read more