| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 138 |
| Technical Name |
web_watermark |
| License | OPL-1 |
| Website | https://www.orado.cn |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 138 |
| Technical Name |
web_watermark |
| License | OPL-1 |
| Website | https://www.orado.cn |
Web Watermark — Protect Your Data with Dynamic User Watermarks
Every page of your Odoo backend is covered by a tiled diagonal watermark showing the current user’s name and timestamp. If a screenshot leaks, you know exactly who took it and when.
Key Features
🔒 Leak-Traceable Screenshots
Every screenshot carries the user’s name and the exact time it was taken, making unauthorized sharing immediately traceable.
🌐 Full-Screen Coverage
The watermark overlay is fixed, full-viewport (100vw × 100vh),
and sits above all other UI elements — no gaps, no scrolling blind spots.
✏ Fully Customizable Content
The watermark template is a standard Odoo QWeb view. Admins can edit it directly in Settings → Technical → Views — add phone numbers, email, bold text, line breaks, or any inline HTML.
⚡ Zero Performance Impact
Rendered as a single SVG foreignObject data-URL background image.
No canvas operations, no polling — one RPC call on page load and done.
🚫 Non-Blocking Overlay
The overlay uses pointer-events: none and user-select: none
so users can interact with the application normally — clicks, selections,
and forms are completely unaffected.
🌏 Timezone-Aware Timestamps
The displayed time respects each user’s personal timezone setting, ensuring the watermark reflects the user’s local time rather than server UTC.
How It Works
- On page load, the frontend calls
web.watermark.backend / get_watermark_datavia ORM RPC. - The server renders the QWeb template
web_watermark.watermark_contentwith the current user’s name, email, phone, and timezone-aware datetime. - The resulting HTML fragment is embedded into an SVG
foreignObject, encoded as adata:image/svg+xmlURL. - This URL is set as the
background-imageof a fixed full-viewport overlay div, tiled at a 25° angle.
Template Customization
Go to Settings → Technical → User Interface → Views and search for “Watermark Content”.
Available template variables:
user_name— current user’s display nameuser_email— current user’s email addressuser_phone— current user’s phone numbernow— timezone-aware datetime objecttoday— timezone-aware date object
Example — multi-line with masked phone:
<b><t t-esc="user_name"/></b><br/>
<t t-esc="now.strftime('%Y-%m-%d %H:%M')"/><br/>
<t t-esc="user_phone[:4] if user_phone else ''"/>****
Compatibility
Odoo 19 Community Enterprise
- Depends only on the
webmodule — no additional dependencies - Works with all Odoo apps and third-party modules
- Compatible with all modern browsers (Chrome, Firefox, Edge, Safari)
Support
If you have any questions or issues, please contact us at feihu.zhang@orado.cn.
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