Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Accounting
  3. Revenue Leakage Engine v 19.0
  4. Sales Conditions FAQ

Revenue Leakage Engine

by Xpath Solutions
Odoo

$ 99.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
Lines of code 1233
Technical Name xs_revenue_leakage_engine
LicenseOPL-1
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
• Invoicing (account)
• Sales (sale_management)
Lines of code 1233
Technical Name xs_revenue_leakage_engine
LicenseOPL-1
Versions 17.0 18.0 19.0
  • Description
  • License
  • Overview
  • Features
  • Support
  • Release Notes
  • FAQ
Revenue Leakage Engine — live detection banner

Find the money you've already lost — before it becomes a habit.

Revenue Leakage Engine automatically scans your Sales, Accounting, and Inventory data every few hours and surfaces lost revenue that would otherwise slip through the cracks — uninvoiced orders, excessive discounts, below-cost sales, overdue invoices, inventory shrinkage, and refund anomalies. Every finding is quantified in your company currency, classified by severity, and linked back to the source record for one-click investigation. Built entirely inside Odoo 19. No external services. No agents. No black boxes.

Odoo 19.0 6 Detection Scanners Multi-Company Multi-Currency Severity Ranking Email Alerts Dashboard & Charts Customer Aggregation Auto Deduplication One-Click Drill-Down Zero External Deps OPL-1
6
Detection Scanners
6
Dashboard Views
0
External Services
6h
Scan Interval
1-5%
Typical Leakage

Every business bleeds revenue. Most never see it.

Industry studies put revenue leakage at 1% to 5% of annual revenue, and 90% of it is invisible until month-end close — if it's caught at all. Confirmed orders never invoiced. Discounts granted above policy. Products sold below cost. Invoices 60 days overdue that nobody chased. Customers refunding more than they pay. This module finds all of it — continuously, automatically, and without you writing a single SQL query.

Live Product Tour
Revenue Leakage Engine — animated tour of every view

10 screens in 18 seconds — list, dashboards, form, kanban, pivot, filters, customer rollup, email alert, settings

Six scanners watching your revenue

Every scanner runs automatically on a schedule. Every finding is quantified, ranked, and traceable.

Order → Invoice Gap
Discount Leakage
Cost vs Sale Anomaly
Payment Overdue
Inventory Shrinkage
Credit Note Anomaly
Dashboard & Charts
Customer Aggregation
High-Severity Email Alerts
One-Click Drill-Down
Multi-Currency Normalization
Multi-Company Safe
Digest-Based Dedup
Resolve / Re-Open Workflow
Run Scan Now Button
Configurable Thresholds

Dashboards that tell the story

Leakage by type, trend over time, and customer-level rollups — all native Odoo 19 views.

Leakage by Type dashboard
Leakage by Type
Pie chart breakdown
Leakage trend line chart
Leakage Trend
Monthly volume over time
Customer leakage summary
Customer Rollup
SQL-backed aggregation

Install and it just works

Four steps. No configuration required to start scanning.

1
Install Module

Add to addons path, update app list, install.

2
Tune Thresholds

Optional. Settings > Revenue Leakage.

3
Run First Scan

One-click manual scan or wait for cron (6h).

4
Recover Revenue

Review high-severity issues and resolve.

Built on Odoo 19 natively

Zero external services. Zero agents. Zero black boxes.

Odoo ORM — Data Access
No raw SQL. Full security respected.
_read_group — Aggregation
O19 API. N queries collapse to 2.
_table_query — SQL View
Customer rollups, zero physical table.
ir.cron — Scheduling
Every 6 hours. Configurable.
mail.template — Alerts
Native HTML mail. Professional design.
res.groups.privilege — Security
O19 User / Manager groups + record rules.

One-time purchase. Lifetime access.

One Odoo database | All updates included | OPL-1 License

One-time License
$149 $99
One database | Lifetime access | Free updates
  • Order → Invoice Gap Detection
  • Discount Leakage Detection
  • Cost vs Sale Anomaly Detection
  • Payment Overdue Detection
  • Inventory Shrinkage Detection
  • Credit Note / Refund Anomaly Detection
  • Six-View Dashboard (List, Kanban, Form, Graph, Pivot, Search)
  • High-Severity Email Alerts with Recipient Picker
  • Customer Leakage Rollup (SQL View)
  • Multi-Company + Multi-Currency Safe

All Features in Detail

Every capability explained — what it does and why it matters.

Leakage record form view with source record link

One form per finding — linked to the original source record, with resolve / re-open workflow.

Order → Invoice Gap

The #1 source of silent leakage.

  • Flags confirmed sale orders not invoiced after N days
  • Configurable delay threshold (default 30 days)
  • Quantified via amount_to_invoice
  • Direct drill-down to the sale order

Discount Leakage

Policy violations, quantified.

  • Flags SO lines with discount above threshold
  • Calculates excess-discount margin loss per line
  • Configurable max discount (default 15%)
  • Shows salesperson accountability patterns

Cost vs Sale Anomaly

Below-cost sales surface immediately.

  • Compares line sale price vs product standard_price
  • Flags margins below configurable floor (default 10%)
  • Catches cost drift + pricelist stale rate issues
  • Per-line quantification in company currency

Payment Overdue

Collectables turning into uncollectables.

  • Scans posted out_invoice past due date
  • Filters to not_paid / partial states
  • Quantified via amount_residual
  • Days-late computation built into description

Inventory Shrinkage

Every lost unit, valued at cost.

  • Detects negative inventory adjustments on stock.quant
  • Values shrinkage at product standard_price
  • Location-aware — one record per adjustment
  • Surfaces warehouse theft / damage patterns

Credit Note Anomaly

Customers with suspicious refund ratios.

  • Computes refund-to-invoice ratio per partner
  • Uses _read_group — 2 queries total, not N
  • Configurable lookback (default 90d) + threshold (20%)
  • Catches fraud, product quality, and process issues

Dashboard & Analytics

See leakage from every angle.

  • Leakage by Type (pie chart)
  • Leakage Trend (line chart, monthly)
  • Leakage by Severity (bar chart)
  • Pivot view (type × severity × amount)

Customer Leakage Rollup

Know which customers are draining you.

  • SQL-backed materialized view — always fresh
  • Total amount, record count, open count, high count
  • List + graph views with filters
  • Drives customer-level recovery workflows

High-Severity Email Alerts

Finance gets notified. Nobody else.

  • Fires only on newly detected high-severity records
  • Professional HTML template with CTA deep-link
  • To: configured users | From: user running scan
  • Master toggle + recipient picker in Settings

One-Click Drill-Down

Zero friction between detection and action.

  • "Source Record" button on every leakage form
  • Polymorphic link via Many2oneReference
  • Jumps directly to SO / invoice / quant / partner
  • Resolve / Re-open workflow with statusbar

Multi-Currency & Multi-Company

Built for international operations.

  • All amounts converted to company currency
  • Every scan iterates all companies
  • Record rule scopes to user's allowed companies
  • Severity calculated in consistent base currency

Digest Deduplication

Scan a hundred times — same results.

  • MD5 hash of model:res_id:type per record
  • UNIQUE DB constraint enforces dedup
  • Scans are idempotent — no email spam
  • Fast pre-filter before batch create

Configurable Thresholds

Tune once. Forget forever.

  • All 6 scanners have tunable thresholds
  • Unified Settings page under Revenue Leakage app
  • Persisted via ir.config_parameter
  • Changes take effect on next scan

Role-Based Security

Two groups. Clear boundaries.

  • User — read-only access to records
  • Manager — resolve, configure, run scans
  • res.groups.privilege (Odoo 19 native)
  • Row-level rules for multi-company safety

Every view you need

List, Kanban, Form, Graph, Pivot, Search — and a professional email alert template.

Kanban view of leakage records
Kanban View
Mobile-friendly board — managers can triage high-severity items from anywhere.
Pivot view of leakage by type and severity
Pivot Analysis
Cross-tab by type × severity × amount — export to XLSX with one click.
Search filters and group by options
Smart Filters
Pre-built filters by type, severity, status, and detection date — plus grouping.
High-severity email alert template
Email Alert Template
Professional HTML email with gradient header, amount card, details, and CTA deep-link.

Support & Custom Features

We're here to help — from installation questions to building tailored scanners.

Revenue Leakage Engine

Xpath Solutions

Have a bug to report, a question about setup, or want a custom scanner? Reach out — we respond promptly and build on demand.

xpathsolution@gmail.com
Bug Reports Installation Help Custom Scanners Configuration Support Odoo 19 Expertise

Configuration Reference

Settings > Revenue Leakage — all available options.

Revenue Leakage settings page

One settings page — tune thresholds, toggle alerts, pick recipients.

SettingDescriptionDefault
Invoice Delay ThresholdFlag confirmed orders not invoiced after N days30 days
Maximum Discount AllowedFlag SO lines with discount above this %15.0 %
Minimum MarginFlag SO lines with margin below this %10.0 %
Payment Overdue ThresholdFlag invoices unpaid past N days due30 days
Refund Anomaly ThresholdFlag customers with refund ratio above this20.0 %
Refund Lookback PeriodWindow for refund ratio calculation90 days
Enable Email AlertsMaster toggle for high-severity alertsEnabled
Alert Recipientsres.users picker — who receives emails—
Cron IntervalHow often the scan runs (ir.cron)6 hours

Severity Thresholds

How records are automatically classified — in company currency.

High
≥ 5,000
Triggers email alerts
Medium
≥ 1,000
Dashboard highlight
Low
< 1,000
Tracked, not alerted

Release Notes

Full changelog for Revenue Leakage Engine.

Version 19.0.2.0.0
Phase 2 — April 2026 | Odoo 19.0
  • Payment Overdue scanner — flags unpaid invoices past due
  • Inventory Shrinkage scanner — values negative quants at cost
  • Credit Note Anomaly scanner — partner refund ratio analysis
  • Customer Leakage Summary — SQL-backed rollup view
  • Email alerts for high-severity records with recipient picker
  • Professional HTML mail template with CTA deep-link
  • Days Open aging field with statusbar workflow
  • Migrated aggregates to Odoo 19 _read_group API
Version 19.0.1.0.0
Phase 1 — Initial Release | Odoo 19.0
  • Order → Invoice Gap scanner
  • Discount Leakage scanner
  • Cost vs Sale Anomaly scanner
  • List, Kanban, Form, Graph, Pivot views
  • Dashboard actions — by type, trend, severity
  • Manual "Run Scan Now" action
  • User & Manager security groups + record rules
  • Multi-company + multi-currency support

Frequently Asked Questions

Everything you need to know before installing.

Does it require any external services or API keys?
No. Zero external dependencies. Everything runs inside Odoo using the native ORM, cron, and mail infrastructure. No API keys, no SaaS, no agents.
Which Odoo version does it support?
Built exclusively for Odoo 19.0. Uses models.Constraint, _read_group with aggregates kwarg, res.groups.privilege, and expression-based invisible= syntax — all specific to Odoo 19.
Will it send me an email every time a scan runs?
No. Emails are only sent for newly detected high-severity records. A digest-based dedup layer ensures the same leakage is never reported twice. Running the scan ten times in a row will, at most, email once.
How are "high-severity" thresholds decided?
By amount in company currency: ≥ 5,000 = High, ≥ 1,000 = Medium, otherwise Low. Every scanner uses the same ladder for consistent dashboards.
Does it work with multi-company setups?
Yes. Every scan iterates all companies via with_company(). All amounts are converted to the respective company currency. A record rule scopes leakage records to the user's allowed companies.
How often does the scanner run?
Every 6 hours via ir.cron, or on-demand via "Run Scan Now" under the Actions menu. You can edit the cron interval in Settings > Technical > Scheduled Actions.
Is it safe on large databases?
Yes. Records are batched in chunks of 500 per INSERT. The credit-note scanner uses _read_group for server-side aggregation (2 queries, not N). Existing-digest lookup is indexed. No raw SQL that bypasses ORM security.
Who can see leakage records?
Only users in the Revenue Leakage / User or Manager group. Users get read-only access; Managers can resolve, run scans, and configure thresholds. Record rules enforce company isolation.
Can I request a new scanner type?
Absolutely. Purchase-side scanners, duplicate payment detection, contract gaps, and salesperson leaderboards are on the roadmap. Email xpathsolution@gmail.com with your use case and we'll discuss a custom build.
Still have a question?
Reach out at xpathsolution@gmail.com. We respond within one business day.
Revenue Leakage Engine

Built for Odoo 19.0 | OPL-1 License | xpathsolution@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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with