Skip to Content
Menu

Report Excel

by
Odoo

32.89

v 18.0 Third Party 1
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1176
Technical Name report_excel_tpl
LicenseOPL-1
Websitehttp://lazydoo.net
Versions 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1176
Technical Name report_excel_tpl
LicenseOPL-1
Websitehttp://lazydoo.net
Versions 17.0 18.0

Feature

This module provides a new feature that allows users to generate reports in Excel format.

  • Generate Excel reports from Odoo data.
  • Support multiple sheets in a single report.
  • Support image in the report.
  • Support python prepare function.
  • Module demo template with examples
  • Free support 24/7

Video

Watch our video tutorial to learn how to use the Report Excel module.

Demo

Try out our live demo to see the Report Excel module in action.

demo.lazydoo.net
user: admin
password: admin

Template

Config

Configure the Report Excel module to customize the behavior and appearance of your reports.

Result

View the result of the Report Excel module in the following screenshots.

Installation

Follow our installation guide to install the Report Excel module on your system.

  • Install openpyxl: pip install openpyxl

Usage

Learn how to use the Report Excel module to generate reports from your data.

  1. Manual Configuration
    1. Step 1: Go to System/Technical/Reports/Excel Template.
    2. Step 2: Create a new report.
    3. Step 3: Upload the template file.
    4. Step 4: (Required) Settings number row/col.

Maintainer

Contact our module maintainer for any questions or support related to the Report Excel module.

This module is maintained by the Lazydoo

Contact Maintainer

report_excel

Introduction

This guide provides instructions on how to use the report_excel. It covers the basic usage examples, and advanced features. ------------ Usage ------------

The Library Name library provides a set of functions that you can use to format fields in your reports. Here are some examples of how to use these functions: 1. Field Date

  • Example:
    • {{o_date(o.order_date, date_format='full', lang_code='en')}}
  • Parameters:
    • date_format: one of “full”, “long”, “medium”, or “short”, or a custom date/time pattern
    • lang_code: a Locale object or a locale identifier
  1. Field Datetime
    • Example:
      • {{o_datetime(o.create_date, date_format='long', tz='UTC', lang_code='en')}}
    • Parameters:
      • dt_format: one of “full”, “long”, “medium”, or “short”, or a custom date/time pattern
      • tz: the timezone to apply to the time for display
      • lang_code: a Locale object or a locale identifier
  2. Field Monetary
    • Example:
      • {{o_monetary(o.amount_total, currency_obj=o.currency_id, digits=2, no_break_space=True)}}
    • Parameters:
      • currency_obj: object currency
      • digits: default currency_obj.decimal_places (optional)
      • no_break_space: default True (optional)
  3. Field Selection
    • Example:
      • {{o_selection(o.state, field_name='state')}}
    • Parameters:
      • field_name: technology field name
  4. Field Html
    • Example:
      • {{o_html(o.note)}}
  5. Field Float
    • Example:
      • {{o_float(o.amount_total, digits=2)}}
    • Parameters:
      • digits: number of decimal places to display (optional)
  6. Field Count
    • Example:
      • {{o_count(o.order_line)}}
    • Parameters:
      • None

Advanced Features

When you using type Excel, you can operate normally with fields and for functions like on Jinda2 template.

When you using type Excel (openpyxl) also provides advanced features that you can explore. Here are some examples:

  1. Function static (static method)
    • Example:
      {# static, A1, attr, variant #}.....{# endStatic, A1 #}
    • Parameters:
      • type: static
      • code: locale cell (D6, D7, D8, ...)
      • attr: example o.order_line or method of model
      • variant: use in loop, example: {{line.name}}
  2. Function forCol (loop column method)
    • Example:
      {#forCol, A1, o_count(o.order_line), line #}{{line[0]}}....{{line[1].name}} {#endCol, A1#}
    • Parameters:
      • type: forCol
      • code: locale cell (D6, D7, D8, ...)
      • attr: example o_count(o.order_line) or method of model
      • variant: use in loop, example: {{line[1].name}}
  3. Function forRow (loop row method)
    • Example:
      {# forRow, A1, o.order_line, line #} {{line.name }} {# endRow, A1 #}
    • Parameters:
      • type: forRow
      • code: locale cell (D6, D7, D8, ...)
      • attr: example o_count(o.order_line) or method of model
      • variant: use in loop, example: {{line[1].name}}
  1. Merge cells
    • If you want to merge cells, you only need to add the value "merge_cell" in the cell location.
    • If you want to merge columns, you only need to add the value "merge_col" in the cell location.
    • If you want to merge rows, you only need to add the value "merge_row" in the cell location.

For more detailed information, refer to the library's documentation.

Conclusion

This guide has provided an overview of the report_excel library and instructions on how to use it. By following these steps, you should be able to integrate the library into your project successfully.

For any further assistance, refer to the library's documentation or reach out to the library's support team.

Author & Maintainer

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.
Ứng dụng hay, thuận tiện báo cáo. Hỗ trợ nhiệt tình, rất cảm ơn.
by
nqv109@hotmail.com
on 4/14/25, 10:06 AM



There are no comments yet!