| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 225 |
| Technical Name |
sdlc_psql_query_execute |
| License | LGPL-3 |
| Website | https://sdlccorp.com |
| Versions | 17.0 18.0 19.0 |
PSQL Query Tool for Odoo 19
Run PostgreSQL Queries
Inside Odoo.
Debug data, validate records, and build ad-hoc reports without leaving the backend, with SELECT-only safety, formatted result tables, and one-click XLSX export.
|
SELECT
Only, safe by design
|
1‑Click
XLSX Export
|
Zero
Configuration
|
Odoo 19
Built & Tested
|
LGPL‑3
Open License
|
|
A lightweight technical console for the people who actually query the database.
|
SELECT id, name, email
FROM res_partner WHERE customer_rank > 0 LIMIT 3;
Export XLSX |
What is PSQL Query Execute?
PSQL Query Execute is a technical utility module for Odoo that lets system administrators run PostgreSQL SELECT queries directly from the Odoo user interface. It provides a simple, secure, and convenient way to query database tables without leaving the backend, complete with formatted HTML result tables and one-click XLSX export.
Whether you need to quickly inspect data, validate records, debug issues, or generate ad-hoc reports, this module gives technical users instant access to raw database results inside a clean, integrated Odoo interface.
What Makes This Module Powerful
Three essential capabilities for database-level insight from inside Odoo.
Execute SELECT QueriesRun raw PostgreSQL SELECT queries directly from the Odoo backend with a single click. No external tools needed. |
Formatted HTML ResultsView results in a styled table with sky-blue headers, alternating row colors, and scrollable layout for wide data. |
One-Click XLSX ExportExport results to a formatted Excel file with Report Date, Company Name, and styled headers. |
Everything Under the Hood
Every feature designed for fast, safe, and convenient database inspection.
Menu Access & NavigationAccessible via Settings > Technical > PSQL Query. Fully integrated into the Odoo backend with no extra setup. |
Query Name & OrganizationLabel and save each query with a dedicated name field for better management and quick re-execution. |
SQL Query InputDedicated text area for writing raw PostgreSQL SELECT statements with full query flexibility. |
Execute / RefreshRun or re-run queries instantly with a single click. Results refresh immediately without a page reload. |
Styled Result TableFormatted HTML table with sky-blue headers, alternating rows, and horizontal/vertical scrolling for wide datasets. |
XLSX Export with BrandingExport to Excel with Report Date, Company Name, styled column headers, and alternating row colors. |
SELECT-Only Safety & Error HandlingNon-SELECT statements are blocked automatically to protect your data. Invalid queries, SQL syntax errors, and missing tables raise a clear Validation Error dialog with a descriptive message, so users know exactly what went wrong. |
|
How It Works in 4 Simple Steps
From install to results in under a minute. No configuration required.
1
NavigateGo to Settings > Technical > PSQL Query |
2
Write QueryEnter a name and write your SELECT statement |
3
ExecuteClick Execute/Refresh to run instantly |
4
ExportClick XLSX to download the Excel report |
See It in Action
Real screens from menu access to XLSX export and error handling.
Access PSQL Query from the Settings > Technical menu
Query form view. Enter a Query Name, write your SQL, and click Execute/Refresh
Query entered. The example select * from res_partner limit 10 is ready for execution
Click Execute/Refresh to run the SQL query and fetch results from the database
Formatted HTML results with sky-blue headers, alternating row colors, and horizontal scrolling
Click the XLSX button to download query output as a professionally formatted Excel file
XLSX report in Excel. It includes the Report Date, Company Name, styled headers, and alternating row colors
Error handling. A Validation Error dialog shows a descriptive SQL error message
Who Is This Module For?
System AdminsInspect tables, validate records, and debug data issues without leaving Odoo. |
DevelopersTest queries, verify data integrity, and run quick checks during development. |
ConsultantsGenerate ad-hoc reports and investigate client data from the backend. |
Odoo PartnersGive clients a safe, integrated tool for database inspection without external access. |
Works Out of the Box with Zero Configuration
| Install the module with no settings to configure |
| Navigate to Settings > Technical > PSQL Query |
| Create a new record, give it a name, and write your SELECT query |
| Click Execute/Refresh to run the query and view results |
| Click XLSX to download results as a formatted Excel file |
Frequently Asked Questions
What type of queries can I run?Only SELECT queries are supported. INSERT, UPDATE, DELETE, and DDL statements are blocked for safety. |
Is any configuration needed?No. It works immediately after installation. Just go to Settings > Technical > PSQL Query. |
Can I export results to Excel?Yes. Click the XLSX button to download a formatted Excel file with Report Date, Company Name, and styled headers. |
What if my query has an error?A Validation Error dialog shows the exact SQL error message so you can quickly identify and fix the issue. |
Can I save and reuse queries?Yes. Each query is saved as a named record, so you can go back to any saved query, re-execute it, or modify it anytime. |
Which Odoo version is supported?This module is built and tested for Odoo 19 and follows Odoo-native design patterns and workflows. |
Free & Fully Supported
Open-source under LGPL-3, with ongoing bug fixes, version updates, and responsive support.
|
Promise 01 Free Bug FixesAny bugs found will be fixed free of charge for the lifetime of your installation. |
Promise 02 Version UpdatesReceive future updates and compatibility patches as new Odoo versions are released. |
Promise 03 Dedicated SupportReach our technical team via Email, Phone, or WhatsApp for any questions. |
Need Help? We're Here.
Have a question, found an issue, or want to share feedback? We respond fast via Email, Phone, or WhatsApp.
Contact Us → sales@sdlccorp.com|
Phone +1 415-594-0097 |
|
|
| Built by SDLC Corp | sdlccorp.com | Version 19.0.1.0.0 |
Please log in to comment on this module
There are no comments yet!