AI Incident Copilot: Cron Failures, Mail Errors, Error Logs, Root Cause Diagnosis
by Viyug Infotech https://viyuginfotech.com$ 76.70
Turn Odoo errors into incidents you can act on
Failed cron jobs, undelivered emails and errors in the log stop being scattered symptoms. Repeats are grouped into one incident, secrets are removed, and an AI model proposes a root cause that you review.
Cron failuresFailed emailsError logWebhook
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
From scattered symptoms to one clear story
The same failure repeated 300 times should be one line, with a cause, not 300 lines.
Without a copilot
- A cron job fails at night and nobody notices
- The same traceback is pasted into a ticket again and again
- Passwords end up in copied tracebacks
- Every investigation starts from a blank page
With AI Incident Copilot
- Failures land in one list with severity and a count
- Repeats are grouped by fingerprint
- Secrets are masked before storage
- A reviewable diagnosis and a chat box per incident
Built for the person on call
For Odoo administrators, developers and partners who run production systems.
Cron failures, live
Every failing scheduled action is captured the moment it fails, with its traceback, and counted in the 7-day cron success rate on the dashboard.
Failed emails
Outgoing emails that end in delivery failed are picked up on a schedule and grouped by reason, so one bad mail server is one incident, not hundreds.
Odoo error log
Reads the error records Odoo itself writes to its log table. Nothing is re-logged, nothing is patched into your code.
Webhook for outside tools
Monitoring tools, payment gateways or scripts can POST an error to a URL protected by an API key. Shown to managers on the dashboard, replaceable in one click.
One incident per problem
Volatile details such as record ids, line numbers and memory addresses are stripped before a fingerprint is computed, so repeats are counted instead of listed.
Secrets removed first
Passwords, tokens, API keys, bearer headers, connection-string credentials and private keys are masked before anything is stored or sent to an AI model.
AI diagnosis you review
Summary, likely cause, evidence, affected functionality, investigation steps, suggested fix and its risk. Each evidence line is checked against the captured data and flagged if it cannot be found.
Ask this incident
Ask a follow-up in plain words. The answer is based only on the incident data and every question and answer is kept for audit.
Dashboard and timeline
Open incidents by severity, resolved this week, cron success rate, and a timeline of every occurrence next to the chatter.
See it working
A fictional company with a sale order failure, a broken currency-rate cron and a bouncing mailbox.
Dashboard
Open incidents by severity, incidents resolved in the last 7 days, the cron success rate and the webhook address for external tools.

Incident list
Sorted by last occurrence. Severity, status, how often it happened, and the module and model the traceback points to. Repeats are one line.

Incident detail
Fingerprint, first and last seen, and a business-context line with the number of records of the affected model touched in the last hour. Diagnosis, questions and timeline are one click away.

AI diagnosis, always a proposal
Likely cause, evidence checked line by line against the captured data, investigation steps, suggested fix and its risk. A human accepts or rejects it; nothing is applied automatically.

Timeline of occurrences
Every capture with its time and source: cron, mail, log or webhook.

Ask this incident: history
Questions asked before, with the answers kept as an audit trail.

Ask this incident: new question
Type a question in plain words. The answer only uses what was captured for this incident, and says so when the data does not contain it.

What is in this release, and what comes next
Included now
- Capture from cron, failed emails, the Odoo error log and a webhook
- Fingerprint grouping and occurrence counting
- Secret redaction before storage
- AI diagnosis with checked evidence, and Ask this incident
- Dashboard, timeline and two user roles
Planned
- Assign an incident to a developer with a due date
- Daily digest email of new incidents
- More capture sources
What you need
This app is built on AI Connection Layer, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
AI Connection Layer
Technical name ai_llm_base
One shared AI connection for all Viyug AI apps: provider, API key, request log and budget in one place.
- Anthropic, OpenAI, Azure OpenAI or any endpoint that speaks the OpenAI chat format
- API key stored in system parameters and shown only to administrators; you supply the account
- Request log with app, purpose, model, tokens, estimated cost, duration and status
- Monthly budget per company: new requests stop with a clear message once it is reached
- Validated JSON answers, retried once with the validation error
- Privacy switch for personal data, off by default



Frequently asked questions
What does it need to run?
The AI Connection Layer app (installed as a dependency) with your own OpenAI, Anthropic or Azure OpenAI key. Capture, grouping, redaction and the dashboard work without any AI key; diagnosis and questions need one.
Can the AI make things up?
It is instructed to cite only the data it is given, and each evidence line is compared with the captured traceback and message. Lines that cannot be found are labelled NOT FOUND IN DATA so the reviewer sees them. The result is always a proposal: nothing is changed in your system.
Are my passwords and tokens sent to the AI provider?
Secrets are masked before a traceback is saved, so neither the stored incident nor the AI request contains them. Masking is pattern based: it covers common formats such as password and token assignments, bearer headers, URLs with credentials, private keys and well-known token shapes. Review unusual custom formats before you enable it in production.
How are two errors decided to be the same?
The exception class and the traceback are normalised, removing numbers, quoted values, hex addresses and file line numbers, then hashed. The same failure on record 17 and record 983 is one incident with two occurrences.
What happens when a resolved incident comes back?
It is reopened automatically and a note is added to the chatter.
Who can see what?
Two groups: User can read incidents and use the AI features; Manager can also create and delete incidents and sees the webhook key. Incidents follow multi-company rules.
Need help or a change?
Questions, a log source you want captured, or a rule that does not match your setup? Use the Contact Vendor button on this page and describe what you need. Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Cron, failed email, error log and webhook capture
- Fingerprint grouping with occurrence tracking and automatic reopen
- Secret redaction of tracebacks and messages
- AI diagnosis reviewed by a human, Ask this incident, dashboard and timeline
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 1459 |
| Technical Name |
ai_incident_copilot |
| License | OPL-1 |
| Website | https://viyuginfotech.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