By DO Incredible
Never see "violates foreign key constraint" again
Every Odoo install eventually hits it: a user tries to delete a customer, a product, or a project and gets a raw
database error naming a random table. Smart Dependency Checker replaces that moment everywhere, on every model,
with a clean summary of exactly what still depends on the record â and a one-click way to go fix it.
Before
ValidationError: The operation cannot be completed: another model requires
the record you are trying to delete. Table: sale_order. Constraint:
sale_order_partner_id_fkey.
After
Cannot delete this record â it is still used by:
⸠4 Sale Orders · ⸠2 Invoices · ⸠8 Payments
Click any category to open and resolve the exact records.
Everything you need, nothing you have to configure
â
Truly universal
Works on every model out of the box. Reads the live database schema to find every Many2one and Many2many relation pointing at the record â no per-model setup, ever.
â¸
Instant, before the failure
A lightweight pre-check runs the moment you click delete, before any database transaction is attempted. Most users never even hit a failed delete.
â
Actionable, not just informative
Every category is a clickable badge. Click "4 Sale Orders" and it opens exactly those 4 orders in a filtered list so you can resolve them immediately.
â
A safety net everywhere
Server actions, automations, scheduled jobs, imports and external API calls are covered too â they get the same clean message instead of a raw database error, even without the web client involved.
â
Configurable ignore-list
Tell it to ignore specific models (log notes, attachments) or a single field, right from Settings, so noise never gets in the way of a legitimate delete.
âª
Force Delete, when appropriate
A narrowly-scoped security group plus a master switch let trusted users bypass the warning and proceed, without opening this up to everyone by default.
How it works
1
Click delete
On any record, from the list, form, or kanban view â exactly as you always have.
2
We check first
A fast pre-check scans every relation pointing at the record before anything is deleted.
3
See the real picture
A clean modal shows every category, count, and severity â blocking or just informational.
4
Fix it in one click
Click a category to open exactly those records, reassign or remove them, then delete normally.
Screenshots
Configuration, in Settings
Open Settings ⸠Dependency Checker to maintain a list of models or individual fields to always ignore
(log notes and internal bookkeeping records are common choices), and to optionally enable Force Delete for a
dedicated security group. Everything else works immediately after install, with no setup required.
Smart Dependency Checker · by DO Incredible · OPL-1 Licensed
Questions or feature requests â reach us through your Odoo Apps Store support channel.
Questions or feature requests â reach us through your Odoo Apps Store support channel.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 702 |
| Technical Name |
do_dependency_checker |
| License | OPL-1 |
| Website | https://www.doincredible.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