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. Technical
  3. SDLC PSQL Query Execute v 18.0
  4. Sales Conditions FAQ

SDLC PSQL Query Execute

by SDLC Corp https://sdlccorp.com
Odoo
v 18.0 Third Party 7
Download for v 18.0 Deploy on Odoo.sh
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)
Lines of code 225
Technical Name sdlc_psql_query_execute
LicenseLGPL-3
Websitehttps://sdlccorp.com
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)
Lines of code 225
Technical Name sdlc_psql_query_execute
LicenseLGPL-3
Websitehttps://sdlccorp.com
Versions 17.0 18.0 19.0
 Odoo 19  PostgreSQL  XLSX Export

PSQL Query Execute

Run PostgreSQL Queries Directly from Odoo

Execute SELECT  ·  Formatted Results  ·  XLSX Download  ·  Error Handling  ·  Zero Config

 Get on Odoo Apps  Contact Us

SDLC PSQL Query Execute is a technical utility module for Odoo that allows system administrators to 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 Odoo 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 — all within a clean, integrated Odoo interface.

Execute SELECT HTML Result Table XLSX Export Styled Headers Scrollable Results Error Handling Zero Config Save & Reuse Queries
SDLC PSQL Query Execute banner - Run PostgreSQL queries from Odoo interface
Core Capabilities

What Makes This Module Powerful

Three essential capabilities for database-level insight from inside Odoo.

Execute SELECT Queries

Run raw PostgreSQL SELECT queries directly from the Odoo backend with a single click. No external tools needed.

Formatted HTML Results

View results in a beautifully styled table with sky blue headers, alternating row colors, and scrollable layout.

One-Click XLSX Export

Export query results to a professionally formatted Excel file with Report Date, Company Name, and styled headers.

Full Feature Set

Everything Under the Hood

Every feature designed for fast, safe, and convenient database inspection.

Menu Access & Navigation

Accessible via Settings > Technical > PSQL Query. Fully integrated into the Odoo backend with no extra setup.

Query Name & Organization

Label and organize saved queries with a dedicated name field for better management and quick re-execution.

SQL Query Input

Dedicated text area for writing raw PostgreSQL SELECT statements with full query flexibility and syntax support.

Execute / Refresh

Run or re-run queries instantly with a single click. Results refresh immediately without any page reload.

Styled Result Table

Formatted HTML table with sky blue headers, alternating row colors, and horizontal/vertical scrolling for wide datasets.

XLSX Export with Branding

Export to Excel with Report Date, Company Name, styled column headers, and alternating row colors for professional output.

Error Handling & Validation

Descriptive error messages with Validation Error dialogs for invalid queries, SQL syntax errors, or missing tables. Clear feedback so users know exactly what went wrong.

Quick Start

How It Works — 4 Simple Steps

From install to results in under a minute. No configuration required.

1

Navigate

Go to Settings > Technical > PSQL Query

2

Write Query

Enter a name and write your SELECT statement

3

Execute

Click Execute/Refresh to run the query instantly

4

Export

Click XLSX to download formatted Excel report

Screenshots

See It in Action

Real screens showing every step — from menu access to XLSX export and error handling.

Settings > Technical > PSQL Query Menu

Access PSQL Query from Settings > Technical menu

PSQL Query Form - Empty State

Query form view — enter a Query Name, write your SQL, and click Execute/Refresh

PSQL Query Form - Query Entered

Query entered — example: "select * from res_partner limit 10" ready for execution

Execute Button Highlighted

Click Execute/Refresh to run the SQL query and fetch results from the database

Query Results - Formatted HTML Table

Formatted HTML results with sky blue headers, alternating row colors, and horizontal scrolling

XLSX Download Button

Click the XLSX button to download query output as a professionally formatted Excel file

XLSX Report in Excel

XLSX report in Excel — Report Date, Company Name, styled headers, and alternating row colors

Validation Error Dialog

Error handling — Validation Error dialog with a descriptive SQL error message

Built For

Who Is This Module For?

System Admins

Inspect database tables, validate records, and debug data issues without leaving Odoo.

Developers

Test queries, verify data integrity, and run quick checks during development and debugging.

Consultants

Generate ad-hoc reports and investigate data for clients directly from the Odoo backend.

Odoo Partners

Provide clients with a safe, integrated tool for database inspection without external access.

Zero Configuration — Works Out of the Box

Install the module — 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
FAQ

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. Works immediately after installation. Just navigate 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 record with a name. 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. It follows Odoo-native design patterns and workflows.

 Lifetime Guarantee

Free Lifetime Support

We stand behind our module. Get free lifetime bug-fix support with every installation — no hidden charges, no expiry.

Free Bug Fixes

Any bugs found in the module will be fixed free of charge for the lifetime of your installation.

Free Version Updates

Receive future updates and compatibility patches as new Odoo versions are released.

Dedicated Support

Reach our technical team via Email, Phone, or WhatsApp for any questions or assistance.

Lifetime free bug-fix support No hidden charges or renewal fees
Quick response from technical team Compatible with future Odoo updates
Multi-channel support (Email, Phone, WhatsApp) Documentation and setup guidance included
What We Do

Our Services

SDLC Corp provides end-to-end Odoo services for businesses of all sizes.

Odoo Customization

Tailor Odoo modules and workflows to match your exact business requirements.

Odoo Implementation

Complete end-to-end Odoo setup, configuration, data migration, and go-live support.

Odoo Support & Maintenance

Ongoing technical support, bug fixes, performance tuning, and maintenance plans.

Odoo Integration

Connect Odoo with third-party platforms, APIs, payment gateways, and external systems.

Hire Odoo Developer

Dedicated Odoo developers available for short-term or long-term project engagements.

Odoo Migration

Seamless migration from older Odoo versions or other ERPs with data integrity and zero downtime.

Get in Touch

Need Help or Have Questions?

If you need help with setup, compatibility, customization, or have any questions, feel free to contact us.

Email

sales@sdlccorp.com

Phone

+1 415-594-0097

WhatsApp

+91 89209 44210

 Contact us for:

Free consultation Customization and workflow automation
Compatibility review Enterprise and multi-instance planning
Pre-sales questions Priority support and advanced requirements
Setup and implementation guidance
 Visit SDLC Corp  Install on Odoo Apps

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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