Skip to main content
#Odoo 20 · Modules & Apps · PostgreSQL · Database · SQL

SDLC PSQL Query Execute

A technical utility module for Odoo 17, 18, and 19 Community Edition that allows system administrators to run PostgreSQL SELECT queries directly from the Odoo user interface, view formatted results instantly, and export data to Excel with one click.

PSQL Query Menu Location

Key Features​

FeatureDescription
Direct SQL ExecutionRun PostgreSQL SELECT queries directly from Odoo's interface with a single click
Formatted Result TablesResults displayed as styled HTML tables with color-coded headers and alternating row colors
XLSX ExportOne-click Excel export with company branding, report date, formatted headers, and alternating colors
Save & Reuse QueriesSave frequently-used queries with descriptive names for quick re-execution later
SELECT-Only SafetyBuilt-in safety guard blocks all non-SELECT queries to protect your database from modifications
Chatter IntegrationFull mail thread support with messages, followers, and activities for collaboration and audit trails
Security First

Only SELECT queries are permitted. The module blocks all other SQL operations (INSERT, UPDATE, DELETE, DROP, ALTER, etc.) to prevent accidental or malicious data modification. Access is restricted to system administrators only.

Capabilities Overview​

CapabilityDescription
Query ExecutionExecute any valid PostgreSQL SELECT statement against the Odoo database
Result RenderingAutomatic HTML table with sky-blue headers, centered text, and alternating purple row colors
Scrollable ResultsHorizontal and vertical scrolling for large result sets (max 500px height)
NULL HandlingNULL values automatically displayed as None in results
XLSX ExportProfessional Excel file with company name, report date, styled headers, and auto-fit columns
Query StorageSave unlimited queries with names for future use
Change TrackingQuery name changes tracked via mail.thread integration
Error FeedbackClear validation error dialogs for empty queries, non-SELECT queries, and SQL errors

Supported Versions​

DetailValue
Odoo Version17.0, 18.0, 19.0 (Community Edition)
Module Version17.0.1.0.0 / 18.0.1.0.0 / 19.0.1.0.0
CategoryTechnical
LicenseLGPL-3
AuthorSDLC Corp

Quick Start​

  1. Installation and Setup
  2. Creating and Executing Queries
  3. FAQ and Troubleshooting
Need Help?

Contact SDLC Corp at sdlccorp.com/contact-us or email sales@sdlccorp.com

Need a hand?

Talk to an Odoo expert

Get help with setup, custom integrations and upgrades from Odoo 17 to Odoo 20 - straight from the team that builds every SDLC Corp product.

Contact support

Official documentation for SDLC Corp connectors, Odoo modules and SaaS apps.