Dynamic Excel Reports
Design your own Excel template and print it for any Odoo model
Upload an .xlsx or .xls layout, drop in field tags, and generate a real Excel file from any record
Table loops, sheet-per-record, Python expressions and images inside cells — no developer needed
Overview
Dynamic Excel Reports lets you build printable Excel output from a template you design yourself in Excel or WPS. Upload the file, bind it to any model, and a server action appears on that model's form and list views.
Field tags such as $partner_id.name, table markers #TABLE START/END, sheet markers #SHEET START/END and {{expression}} cover simple to advanced layouts, including images inside cells.
Complete Feature List
-
1. Upload your own Excel template
Design the layout in Excel or WPS, keep all styles, borders and merged cells -
2. Bind a template to any model
A server action is created automatically on the model's form and list views -
3. $field placeholders with dot-path relations
$name, $partner_id, $partner_id.country_id, $env.user.name -
4. #TABLE START / #TABLE END dynamic tables
Expand a one2many field into table rows automatically -
5. #SHEET START / #SHEET END sheet loops
Generate one worksheet per line, named by #SHEET NAME:$field -
6. {{expression}} safe Python rendering
Relation fields, env variables, formatting like {{'%.2f' % object.amount_total}}, or-defaults and text concatenation -
7. Images inside cells
Binary fields such as product pictures are inserted as pictures in the cell -
8. Multi-record output
Select many records and merge them into a single workbook, one sheet per record -
9. Preferred template switching
Resolve a different template per record through prefer_xls_field and prefer_xls_check_field -
10. Multi-company scoping
Limit a template to selected companies; leave empty to share across all -
11. Manager / User access groups
Managers maintain templates; users run the report actions
Key Highlights
Why teams pick this over a fixed QWeb PDF
1. Excel as the template
No developer round-trips
Business users keep the layout they already know. Upload the workbook and the report is ready.
2. Loops for tables and sheets
One2many aware
#TABLE expands line rows; #SHEET produces one worksheet per line, named from a field value.
3. Expressions and images
Beyond plain fields
{{expression}} handles formatting, relations and defaults; binary fields render as pictures inside cells.
General Features
Multi-Language & Multi-Company
Built for Global Teams
Full multi-language translation support for global deployments. Native multi-company architecture with strict data isolation.
Full Version Support
Odoo 12 to 19
Works with Odoo 20,19,18,17,16,15,14,13,12, EE/CE/.SH, compatible with Enterprise, Community and Odoo Online SaaS.
Full Open Source
OPL-1 Licensed
Transparent, auditable code, open for further development and customization.
Screenshots
Core features at a glance
Excel template with $field tags and #TABLE loop
Sheet loop example (#SHEET START / END)
{{expression}} syntax reference in cells
Object binding across render paths
How It Works
Step One
Create a template, pick the model, upload the .xlsx
Step Two
Drop $field tags, #TABLE / #SHEET markers and {{expressions}}
Step Three
Open a record, run the generated action
Step Four
Download the filled Excel report
Supported & Dependent Modules
- base
- web
odooai.cn
Professional Odoo Solutions: Development, Implementation, Consulting & Training
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2723 |
| Technical Name |
app_report_xls |
| License | OPL-1 |
| Website | https://www.odooai.cn |
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