| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 118 |
| Technical Name |
web_x2many_list_export |
| License | LGPL-3 |
X2Many Excel Export
Add an Export Excel button to embedded one2many and many2many list fields. Enable it per list with export_xlsx="1" and let users download the lines as XLSX.
Simple XML Switch
Add export_xlsx="1" to the nested list view. No Python code is required in your business module.
X2Many Ready
Works with embedded one2many and many2many list fields inside Odoo form views.
Native XLSX Export
Uses Odoo's standard XLSX export flow, so downloads feel familiar to Odoo users.
Usage
<field name="line_ids">
<list string="Lines" editable="bottom" export_xlsx="1">
<field name="name"/>
<field name="date"/>
<field name="amount"/>
</list>
</field>
Feature Summary
- Adds an Export Excel button to x2many list fields.
- Enabled only when the nested list has export_xlsx="1".
- Supports one2many and many2many embedded lists.
- Exports visible scalar columns from the list view.
Common Use Cases
- Export order lines and invoice lines.
- Export employee, project, or product variant lines.
- Export grant batches or custom relational lists.
- Give users fast XLSX access without custom server actions.
Installation
Copy the module to your addons path, update the apps list, then install X2Many Excel Export. Add export_xlsx="1" to each one2many or many2many list where the export button should appear.
Search Keywords
Odoo 19 x2many export, one2many export Excel, many2many export XLSX, embedded list export, relational field export, export order lines, export invoice lines, export x2many list to Excel.
Please log in to comment on this module