| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 53 |
| Technical Name |
html_codeview |
| License | LGPL-3 |
| Website | https://sprinterp.com |
| Versions | 10.0 11.0 12.0 13.0 14.0 |
HTML Code View (No Debug Mode)
Unlock direct HTML source code editing and professional checklist tools in your Odoo web editor without activating developer mode.
Module Highlights
How the HTML Editor Enhancement Works
Our module uses a "Developer-Friendly" approach to unlock the full potential of Odoo's web editor. By extending the core JavaScript framework of the HTML field, the system dynamically injects the 'Code View' and 'Checklist' options directly into the Summernote toolbar configuration. This modification bypasses the standard requirement for Debug Mode, allowing users to toggle between a visual editor and raw source code instantly. This seamless integration ensures that technical adjustments can be made rapidly without interrupting the administrative workflow.
Standard Restricted HTML Editor
By default, Odoo hides the Code View button in the HTML editor unless the user activates Developer (Debug) Mode. This creates a hurdle for users who need to quickly inspect or edit source code without administrative overhead or technical mode switching.
The Challenge: Users often find it difficult to troubleshoot layout issues or add custom HTML tags when the source code button is missing from their standard toolbar.
Permanent Access to Code View
Our module unlocks the Code View toggle for everyone. Now, any user can inspect and edit raw HTML directly from the standard toolbarâno debug mode required. This drastically speeds up troubleshooting and advanced content formatting.
Developer-Friendly: A must-have tool for teams who regularly work with customized email templates, website snippets, or complex internal documentation.
Advanced Source Code Management
With a single click on the Code View icon, the editor transforms into a specialized development environment. You can directly edit the raw HTML tags, attributes, and inline styles. This gives you total control over the document structure, allowing for high-precision formatting that is often impossible with a standard WYSIWYG editor.
Developer Efficiency: Modify complex email layouts, fix broken spans, or add custom classes instantly. All changes are committed safely upon saving the record.
Module Capabilities & Features
A specialized developer tool for Odoo that unlocks advanced HTML editing capabilities and source code management directly within the standard web editor.
No Debug Mode Required
Access the HTML source code editor instantly. Unlike standard Odoo, you don't need to activate developer/debug mode to view or edit raw HTML.
Direct HTML Editing
Adds a dedicated 'Code View' button to the toolbar, allowing you to manipulate tags, styles, and structures directly for precise content control.
Dynamic Toolbar Setup
Intelligently modifies the Summernote configuration to inject 'codeview' and 'view' options into the existing editor toolbar seamlessly.
Checklist Integration
Enables the checklist functionality within the 'Paragraph' menu, making it easier to create interactive to-do lists in any HTML field.
Secure Change Persistence
Optimized JavaScript logic ensures that all changes made in Code View mode are properly captured and saved when the record is committed.
Zero Configuration
No settings or user permissions required. Simply install the module and the advanced editor tools will be available across all HTML fields in the system.
Need Any Help?
Installation, Configuration & Bug Fixing support from our experts.
© 2017 SprintERP Technologies. All Rights Reserved.
Please log in to comment on this module