| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1841 |
| Technical Name |
d_website_amp_validation |
| License | OPL-1 |
| Website | https://duong-odoo-apps.odoo.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1841 |
| Technical Name |
d_website_amp_validation |
| License | OPL-1 |
| Website | https://duong-odoo-apps.odoo.com |
AMP Validation Dashboard for Odoo
Monitor AMP readiness across your Odoo website with a validation dashboard designed for website managers, editors, and technical teams.
The dashboard helps identify AMP-related issues, review affected URLs, track validation status, and decide whether affected AMP pages should continue to be served or fall back to their canonical versions.
Validation workflow
- AMP validation issue tracking
- Affected URL overview
- Accept or reject validation decisions
- Fallback behavior for rejected AMP pages
- Useful for technical SEO and QA workflows
Accept or reject issues
Accepted issues allow the sanitized AMP output to continue being served. Rejected issues can prevent affected AMP pages from being served and redirect visitors to the canonical page, depending on the configured fallback behavior.
Use these decisions to balance AMP validation quality with the needs of your public website content.
Per-URL review
Open a validated URL to review its current status, CSS size, affected validation issues, and available actions such as re-validation or opening the AMP page.
Quality control for AMP pages
The validation dashboard is intended for technical SEO, QA, and publishing workflows. AMP pages should be reviewed before production use, especially when they contain custom snippets, forms, third-party embeds, or heavily customized website content.
Documentation
Open the Documentation tab on the right of this page for the setup and usage guide. Requires Website AMP.
Support
Contact us at duongodooapps@gmail.com
Website AMP — Validation Dashboard Guide
d_website_amp_validation adds a Validated-URLs / Error-Index dashboard with per-error Accept/Reject decisions, mirroring the WordPress AMP plugin. It requires Website AMP (d_website_amp).
1. Where it lives
After install, a new menu appears under Website → Configuration → AMP:
- Validated URLs — every AMP-enabled page, post and product.
- Error Index — every distinct validation issue, listed once.
- Re-validate all — runs the indexer on demand.
2. Validated URLs
Each row shows the AMP URL, its source record, the AMP status (Valid / Sanitized / Invalid), error count, inline-CSS size and the last validation time. Open a row for the detail form, where you can Re-validate or Open AMP page.
A daily scheduled action keeps the dashboard fresh; use Re-validate all (or the per-record button) to refresh immediately.
3. Error Index — Accept vs Reject
Identical issues across many URLs are grouped into a single error term, tagged with the source sanitizer and the number of URLs affected. Set one decision per term:
- Accept — the invalid markup is stripped; affected pages stay valid AMP.
- Reject — the markup is kept; the AMP URL falls back to the canonical (non-AMP) page with a 302 redirect, exactly like WordPress's behavior.
4. How validation works
The indexer converts each AMP target with the core converter and runs the core validator, recording any residual issue and the inline-CSS size. Because the converter already produces valid AMP for standard content, a healthy site shows 0 errors — the Error Index mainly surfaces issues introduced by custom or third-party markup.
Notes & limitations
- The official AMP validator (npx amphtml-validator) additionally requires network access to cdn.ampproject.org; this dashboard uses the built-in rule engine and needs no external access.
Support
Questions or issues: duongodooapps@gmail.com
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