Dynamic Export Base
Export Any Model Dynamically
Overview
The Dynamic Export Base module is the backbone for creating custom export templates in Odoo. Export data from any model with your preferred field structure without requiring any technical skills.
Create reusable export templates, select any fields including related fields from one2many and many2one relationships, and add export actions directly to model views for quick access.
Key Features
📊 Any Model Support
Export data from any Odoo model - standard or custom. Works with Sale Orders, Invoices, Products, or your custom models.
🔀 Relational Fields
Easily handle many2one, one2many, and many2many fields. Select sub-fields from related objects with O2M and M2O buttons.
📝 Custom Templates
Create reusable export templates. Define once, use many times. Configure field selection and structure saved for future exports.
⚡ Quick Access
Add export actions to model views. Access your custom exports from the Action menu in tree and form views.
🎯 Field Selection
Choose any fields: char, text, integer, float, boolean, date, datetime, selection, and all relational fields.
🚀 No Coding Required
Simple point-and-click interface. No technical knowledge needed. Perfect for business users who need custom exports.
How to Use
1. Create Export Template
- Go to Dynamic Export → Export Actions
- Click Create
- Enter action name (e.g., "Customer Details Export")
- Select model (e.g., "Contact")
- Set file name (e.g., "customers")
- Save
2. Add Fields
- In the Export Fields tab, click Add a line
- Select field from dropdown (e.g., "Name")
- Optionally set custom label
- Repeat for all desired fields
- Reorder using drag handle if needed
3. Configure Relational Fields
- Add a relational field (e.g., "Customer" - many2one)
- Click the M2O button next to the field
- Select related fields (e.g., "City", "Street", "Phone")
- Close the wizard
- For one2many fields (e.g., "Order Lines"), use O2M button
- Set separator (e.g., "; " for line items)
4. Add Action to Model
- Click Add Action button in header
- Export action is now added to the model
- Navigate to the model's tree view (e.g., Contacts)
- Select records to export
- Click Action menu
- Your export action appears in the list
Field Types Supported
Basic Fields
- Char/Text: Direct string export
- Integer/Float/Monetary: Number formatting
- Date/Datetime: ISO format
- Boolean: Yes/No values
- Selection: Display values
Relational Fields
- Many2one: Select sub-fields like partner.city, partner.street
- One2many: Export line items with custom separator
- Many2many: Export tags/categories with separator
Examples
Example 1: Customer Export
Model: Contact
Fields:
- Name
- Phone
- City (via M2O button)
- Country (via M2O button)
Example 2: Sale Order with Lines
Model: Sale Order
Fields:
- Order Number
- Customer Name (via M2O button)
- Order Date
- Total Amount
- Order Lines (via O2M button):
- Product Name
- Quantity
- Unit Price
Use Cases
- Custom Reports: Export data in specific format for reports
- Data Migration: Prepare data for external systems
- Analysis: Export to Excel for further analysis
- Backup: Regular data exports for backup purposes
- Integration: Feed data to third-party applications
- Audit: Export records for compliance and auditing
Extension Modules
This base module provides the foundation. Install format-specific modules to download exports:
- CSV Export: Download as comma-separated values
- Excel Export: Download as XLSX spreadsheets
- XML Export: Download as XML documents
- Text Export: Download as plain text files
- PDF Export: Download as PDF documents
Benefits
For Business Users:
- Create custom exports without IT help
- Quick access from model views
- Reusable templates save time
- Export exactly the data you need
For Organizations:
- Reduce dependence on developers
- Faster data export turnaround
- Standardized export formats
- Better data accessibility
Technical Information
Version: 19.0.1.0.0
Dependencies: base, web
License: OPL-1 (Odoo Proprietary License)
Category: Extra Tools
Compatibility: Odoo 19.0
Please log in to comment on this module