| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 76 |
| Technical Name |
user_watermark |
| License | OPL-1 |
| Website | https://linkedin.com/in/mo-halim |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 76 |
| Technical Name |
user_watermark |
| License | OPL-1 |
| Website | https://linkedin.com/in/mo-halim |
User Watermark
Protect every screen — automatically overlay the logged-in user's name and login on all Odoo backend pages, so screenshots can always be traced back to their source.
Why You Need This
Screenshots of confidential Odoo data — customer lists, payroll figures, inventory costs —
are shared outside your organisation every day. Once a screenshot leaves your system
you have no way of knowing who took it.
User Watermark solves this silently and instantly. The moment a user logs in,
their full name and username are tiled diagonally across every backend screen at low opacity.
The UI remains fully interactive — users barely notice the watermark. But every screenshot
now carries an undeniable fingerprint pointing to the person who took it.
Key Features
Zero Configuration
Install the module and it works immediately on every user's session — no settings, no per-user setup required.
Full Identity Overlay
Displays the user's full name + login diagonally, repeated across the entire screen — unambiguous identification.
Light & Dark Mode
Automatically adapts opacity and colour when the user switches between light and dark themes — no flicker, no manual toggle.
Non-Intrusive
pointer-events: none means clicks pass straight through the watermark. Every button, field, and link works normally.
Always on Top
Uses z-index: 99999 — the watermark remains visible even above Odoo's modal dialogs, dropdowns, and pop-up panels.
Zero Server Footprint
Pure frontend — no Python models, no database tables, no server-side logic. Install and uninstall cleanly with no residual data.
Screenshots
How It Works
Install
Install from Odoo Apps — no restart needed, takes effect immediately.
User Logs In
The OWL component reads the session for the logged-in user's name and login.
Canvas Rendering
A Canvas tile is generated in the browser with the text drawn at 25°, then tiled as a CSS background-repeat.
Always Visible
A fixed-position div covers the viewport — above all Odoo layers, click-through, on every navigation.
Technical Notes
- Built with Odoo 17 OWL framework — registered via the
main_componentsregistry so it mounts once at app boot and survives all client-side navigation. - Tile dimensions are calculated dynamically from the rotated text bounding box — no fixed size, no large transparent gaps.
- A
MutationObserverwatchesdata-bs-themeand.o_darkfor mid-session theme switches. A value-comparison guard prevents unnecessary redraws on unrelated class mutations. - The observer is disconnected in
onWillUnmount— no memory leaks on hot reload. - Compatible with Odoo Community and Enterprise editions.
- Depends only on the
webmodule — no third-party dependencies. - License: OPL-1 (Odoo Proprietary License).
Support & Contact
For questions, bug reports, or feature requests, please contact:
📧 eng0halim@gmail.com
🔗 linkedin.com/in/mo-halim
Response within 1–2 business days.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module