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. Data Operations v 19.0
  4. Sales Conditions FAQ

Data Operations

by Dany Chavez https://www.linkedin.com/in/dfunn1k/
Odoo
v 19.0 Third Party 2
Download for v 19.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 1470
Technical Name pg_data_ops
LicenseSee License tab
Websitehttps://www.linkedin.com/in/dfunn1k/
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1470
Technical Name pg_data_ops
LicenseSee License tab
Websitehttps://www.linkedin.com/in/dfunn1k/
  • Description
  • License
PG Data Ops icon

PG Data Ops

Controlled PostgreSQL data operations for Odoo, built for technical users who need visibility, guardrails, and an audit trail.

Odoo 19 Community Enterprise Odoo.sh On Premise

Execute SQL declarations from Odoo with security, rollback previews, and export-ready results.

PG Data Ops gives administrators and technical teams a dedicated workspace for controlled PostgreSQL operations. Query data, review changes, run safe executions, inspect returned rows, and keep every execution traceable.

Email: danychavezdev@gmail.com WhatsApp: +51 939 835 705
PG Data Ops cover

Key Highlights

A safer technical layer for database work inside Odoo, focused on access control, validation, traceability, and practical result handling.

01

Permission-based SQL access

Assign users to progressive access levels: query-only, query and update, or query, update, and delete.

02

Execution guardrails

Block dangerous keywords, unsafe PostgreSQL functions, transaction control, and writes to protected Odoo tables.

03

Auditable execution history

Store the executed SQL, user, duration, row count, status, rendered preview, and exportable result data.

Screenshots Features FAQ Latest Release

1. User-level access control

Grant data-operation permissions directly from the Odoo user form. The module exposes clear access levels so administrators can decide who may only read data, who may perform updates, and who is trusted to run delete operations.

User access permissions for Data Operations

2. Dedicated menus for declarations and executions

PG Data Ops adds a focused technical menu for SQL declarations and execution history. Users can separate reusable statements from the immutable audit log, keeping day-to-day work organized and easy to review.

Data Operations menu for declarations and executions

3. SELECT declarations with readable result previews

Run read-only SQL declarations and inspect the output in a structured result grid. Sticky column headers, row numbers, execution metadata, and export access help users understand exactly what was returned.

Declaration form showing SELECT result preview

4. Export wizard for CSV, Excel, and JSON

Export the stored execution result without running SQL again. The wizard supports practical options such as headers, CSV separator, quote character, line endings, UTF-8 BOM, Excel sheet name, and JSON layout.

Export result wizard

5. UPDATE declarations that return the changed rows

When an UPDATE declaration does not include a RETURNING clause, the module adds RETURNING * automatically. Users can immediately inspect the updated records while keeping the full execution audited.

Declaration form showing UPDATE returned rows

Core Features

Three progressive security groups Separate read-only users from users allowed to update data or execute delete operations.
Safe execution mode Run SQL inside a savepoint, capture the result, and roll back the SQL changes immediately.
Automatic UPDATE visibility Append RETURNING * when needed so updated rows are visible directly after execution.
Export-ready execution results Download stored results as CSV, Excel, or JSON with configurable export options.
Dangerous SQL validation Reject high-risk operations before execution, including DDL, privilege changes, and unsafe functions.
Immutable audit log Execution records remain protected from manual edits or deletion, preserving a reliable audit trail.

Frequently Asked Questions

Can users execute dangerous database operations?

The module intentionally blocks high-risk operations such as DROP, ALTER, TRUNCATE, GRANT, transaction control, unsafe PostgreSQL functions, and DML on protected Odoo tables.

Can an UPDATE be tested without keeping the changes?

Yes. Enable safe execution to run the declaration inside a savepoint. The module captures the result and immediately rolls back the SQL changes.

Does exporting data execute the SQL again?

No. The export wizard uses the stored result from the selected execution, so it does not re-run SQL or change the database.

Latest Release

19.0.1.0.3

Adds the export wizard, safe execution support, automatic RETURNING for UPDATE declarations, translated access labels, and improved SQL result rendering.

Odoo Services

Available for implementation, customization, technical support, migrations, integrations, and advisory work.

Odoo Customization
Odoo Implementation
Odoo Support
Odoo Migration
Odoo Integration
Odoo Consultancy
Odoo Licensing
Odoo Development
PG Data Ops

Email: danychavezdev@gmail.com | WhatsApp: +51 939 835 705

SOFTWARE LICENSE AGREEMENT
==========================

Effective 2026

Copyright (c) 2026 Dany Anderson Chavez Pauca

This Software License Agreement (the "Agreement") is made between Dany Anderson Chavez Pauca
(the "Licensor") and the purchaser (the "Licensee"). By accepting or using the
Software—comprising multiple Odoo modules across various repositories—the
Licensee agrees to be bound by the terms set forth below.

1. Grant of License

The Licensor grants the Licensee a non-exclusive, non-transferable, revocable
license to use the Software solely for Licensee’s internal purposes and for
projects developed and maintained directly by Licensee. This Agreement
expressly prohibits any form of redistribution, sublicensing, or
commercialization of the Software.

2. Permitted Use

The Software is sold directly to the Licensee and may only be used within
Licensee’s own projects. The Licensee is not permitted to distribute, resell,
lease, or otherwise commercialize the Software or any derivatives thereof.
Unauthorized distribution or commercialization may result in legal action.

3. Restrictions on Distribution and Commercialization

The Licensee shall not distribute, share, or make the Software available to any
third party in any form—either as a standalone product or as part of another
project. Any breach of this provision will be considered a material violation
of this Agreement, subjecting the Licensee to immediate termination of the
license and potential legal liability.

4. Ownership and Intellectual Property Rights

All rights, title, and interest in and to the Software, including any
modifications or improvements, remain the exclusive property of the Licensor.
Licensee acknowledges that no title or ownership rights are transferred under
this Agreement.

5. Modifications and Maintenance

Any modifications, enhancements, or maintenance work on the Software shall only
be performed with the prior written consent of the Licensor. Licensee shall not
alter any portion of the Software that would permit its resale or redistribution.

6. Warranty Disclaimer and Limitation of Liability

The Software is provided "as is," without warranty of any kind, either express
or implied, including but not limited to any implied warranties of
merchantability, fitness for a particular purpose, or non-infringement. In no
event shall the Licensor be liable for any damages (including direct, indirect,
incidental, consequential, or punitive damages) arising out of the use or
inability to use the Software, even if advised of the possibility of such
damages.

7. Indemnification

The Licensee agrees to indemnify, defend, and hold harmless the Licensor from
any claims, damages, liabilities, costs, or expenses (including reasonable
attorneys' fees) arising from Licensee's use of the Software or any breach of
this Agreement.

8. Termination

This Agreement is effective until terminated. The Licensee's rights under this
Agreement will terminate automatically if any term or condition is breached.
Upon termination, the Licensee shall immediately cease all use of the Software
and destroy all copies in its possession or control.

9. Governing Law

This Agreement shall be governed by and construed in accordance with the laws
of the applicable jurisdiction, without regard to its conflict of law
provisions.

10. Entire Agreement

This Agreement constitutes the entire understanding between the parties
regarding the Software and supersedes any prior agreements, whether written or oral.

By using the Software, the Licensee acknowledges that it has read, understood,
and agrees to be bound by the terms and conditions of this Agreement.

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