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
    • Estate 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. Dashboard
  3. Data Source v 18.0
  4. Sales Conditions FAQ

Data Source

by YLHC Technology https://www.ylhctech.com , co. https://www.ylhctech.com , ltd. https://www.ylhctech.com
Odoo

$ 4.19

v 18.0 Third Party
Live Preview
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)
Community Apps Dependencies Show
• Base For Editor
• Dashboard Base
• Sub Form
• ylhc_components
• ylhc_tempalte_widget
Lines of code 476969
Technical Name ylhc_data_source
LicenseOPL-1
Websitehttps://www.ylhctech.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
• Base For Editor
• Dashboard Base
• Sub Form
• ylhc_components
• ylhc_tempalte_widget
Lines of code 476969
Technical Name ylhc_data_source
LicenseOPL-1
Websitehttps://www.ylhctech.com
  • Description
  • License

🗄️ Yuanli Data Source

Advanced Data Source Module for Yuanli Dashboard

Power your dashboards with flexible, high-performance data sources. Connect to multiple data types, execute complex queries, and transform data with ease. Essential extension for advanced analytics and reporting.

📊 Multiple Data Sources
⚡ High Performance
🔧 Extensible

ℹ️ Extension Module

This module extends Yuanli Dashboard with advanced data source capabilities. Install it to unlock powerful data connectivity features.

💎 Why Data Source Module?


While the base dashboard module provides basic data access through Odoo models, the Data Source module unlocks advanced capabilities for complex analytics, custom queries, and data transformations. Perfect for power users and advanced reporting scenarios.

🎯

Flexible Queries

Execute complex SQL queries and custom data transformations beyond standard ORM capabilities.

⚡

Optimized Performance

Smart caching and query optimization ensure fast data loading even for large datasets.

🔌

Multiple Sources

Connect to various data sources including SQL, Python scripts, and external APIs.

💾 SQL Data Source


Execute powerful SQL queries directly against your Odoo database. Perfect for complex analytics, custom aggregations, and reports that go beyond standard ORM capabilities.

🎯 Key Features
  • Direct SQL query execution
  • Support for complex JOINs
  • Subqueries and CTEs (Common Table Expressions)
  • Aggregation functions (SUM, AVG, COUNT, etc.)
⚡ Advanced Capabilities
  • Window functions support
  • Query parameter binding
  • Result caching for performance
  • Query timeout protection
🔒 Security: All SQL queries are executed with proper access controls and user permissions. Only authorized users can create and execute custom queries.

🐍 Python Data Source


Leverage the full power of Python for data processing and transformation. Write custom scripts to manipulate data, call external APIs, or implement complex business logic.

  • 📝 Full Python Support: Write any Python code for data processing
  • 🔌 Odoo ORM Access: Full access to Odoo's ORM and models
  • 📚 Rich Libraries: Use pandas, numpy, and other Python libraries
  • 🌐 External APIs: Call REST APIs and integrate external data
  • 🔄 Data Transformation: Clean, merge, and transform data as needed
  • ⚙️ Custom Logic: Implement complex calculations and business rules
💡 Example Use Cases: Financial calculations, predictive analytics, data enrichment from external sources, custom KPI computations

🔗 Model Data Source (Enhanced)


Extended Odoo model data source with advanced features beyond the base dashboard. Includes computed fields, complex domains, and data preprocessing capabilities.

🎯 Enhanced Features
  • Computed field support
  • Complex domain expressions
  • Multi-level relational queries
  • Custom field mappings
✨ Additional Capabilities
  • Data preprocessing hooks
  • Result transformation
  • Intelligent caching
  • Batch processing support

🌐 REST API Data Source


Connect to external REST APIs to fetch data from third-party services. Perfect for integrating data from CRMs, marketing platforms, financial services, and more.

🔌 HTTP Methods
  • GET requests
  • POST data submission
  • Authentication headers
  • Custom parameters
🔐 Security
  • OAuth support
  • API key management
  • Token refresh
  • SSL/TLS encryption
⚡ Performance
  • Response caching
  • Timeout handling
  • Rate limiting
  • Error retry logic

🚀 Performance Features


Built-in performance optimization ensures your dashboards load fast and stay responsive, even with complex queries and large datasets.

💾 Smart Caching

Intelligent cache system stores query results with configurable TTL. Dramatically reduces database load and improves response times.

⚡ Query Optimization

Automatic query analysis and optimization. Includes query plan caching and result set streaming for large datasets.

🔄 Background Processing

Heavy queries can run in background jobs. Users get immediate feedback while data loads asynchronously.

📊 Pagination Support

Automatic pagination for large result sets. Load data incrementally for better performance and user experience.

🔧 Data Transformation


Powerful data transformation capabilities let you clean, reshape, and enrich your data before visualization. Apply transformations at the data source level for reusability across multiple blocks.

  • 🔄 Data Mapping: Map and rename fields, convert data types
  • 🧮 Calculated Fields: Create computed fields using formulas
  • 🔗 Data Joining: Merge data from multiple sources
  • 🎯 Filtering: Apply filters and conditions before visualization
  • 📊 Aggregation: Group and aggregate data dynamically
  • 🧹 Data Cleaning: Handle nulls, duplicates, and outliers

🛠️ Management Features


Comprehensive management interface for organizing and maintaining your data sources. Built-in tools for testing, debugging, and monitoring data source performance.

📚 Organization
  • Categorize data sources
  • Tagging and labeling
  • Search and filter
  • Favorites and recent items
🔍 Testing & Debugging
  • Query testing interface
  • Result preview
  • Error logging
  • Performance metrics

📦 Installation & Requirements


This module extends the base Yuanli Dashboard with advanced data source capabilities. It can be installed independently as an optional extension.

✅ Requirements:
  • Yuanli Dashboard (base module)
  • Odoo 18.0 or higher
  • Python 3.8+ (for Python data sources)

❓ Frequently Asked Questions


Is this module required for Yuanli Dashboard?
No, this is an optional extension module. The base dashboard works with Odoo model data sources. Install this module if you need SQL queries, Python scripts, or external API integration.
Can I execute any SQL query?
Yes, but with proper security controls. Users need appropriate permissions to create and execute SQL queries. All queries are logged and can be audited. We recommend using read-only queries for dashboards.
How does caching work?
Each data source can have its own cache TTL (Time To Live). Results are cached based on query parameters. Cache is automatically invalidated when data changes or TTL expires. You can also manually clear cache.
Can I connect to external databases?
This version focuses on Odoo's internal database and REST APIs. External database connections can be implemented through Python data sources using appropriate database drivers.
Is it safe to use Python data sources?
Yes, Python scripts run in a controlled environment with proper access controls. Only authorized users can create Python data sources. All executions are logged and can be monitored.

Download Information

The related modules in external_depends can be downloaded from https://github.com/xunonxyz/o_dashboard

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

  • 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 or have a question related to your purchase, please use the support page.
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