Skip to Content
Menu

Odoo BIRT Integration

by
Odoo

50.61

v 14.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 249
Technical Name odoo_birt
LicenseOPL-1
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 249
Technical Name odoo_birt
LicenseOPL-1
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0

Odoo BIRT 集成基础模块 / Odoo BIRT Integration Base Module

演示访问 / Demo Access

  • 演示网站: https://demo.qianxunman.top/web
  • 账号: demo
  • 密码: demo
  • Demo Site: https://demo.qianxunman.top/web
  • Username: demo
  • Password: demo

功能特性 / Features

  1. 直接嵌入BIRT报表到Odoo网页中
  2. 通过iframe方式嵌入报表查看器

Directly embed BIRT reports into Odoo pages - Embed report viewer via iframe

  1. 支持多种报表导出格式
  2. PDF
  3. Excel (.xlsx)
  4. Word (.docx)
  5. 其他常见格式 Support multiple export formats
  6. PDF
  7. Excel (.xlsx)
  8. Word (.docx)
  9. Other common formats

  10. 与Odoo原生打印功能无缝集成

  11. 保持与原生打印相同的用户体验
  12. 支持批量打印 Seamless integration with native Odoo printing
  13. Maintain same user experience as native printing
  14. Support batch printing

安装要求 / Installation Requirements

  • Odoo 12.0或更高版本
  • 已安装odoo_birt基础模块
  • 可访问的BIRT报表服务器
  • Odoo 12.0 or higher
  • odoo_birt base module installed
  • Accessible BIRT report server

配置说明 / Configuration

  1. views/views.xml中配置报表URL
  2. 设置报表格式和绑定模型
  3. 配置菜单项显示位置
  4. Configure report URLs in views/views.xml
  5. Set report formats and binding models
  6. Configure menu item display locations

使用示例 / Usage Examples

  1. 销售订单打印预览
  2. 路径: Reports > Metabase > 销售订单打印预览 Sales Order Print Preview
  3. Path: Reports > Metabase > Sales Order Print Preview

  4. 采购订单导出Excel

  5. 通过打印菜单选择"purchase Order Birt xlsx" Purchase Order Export to Excel
  6. Select "purchase Order Birt xlsx" from print menu

  7. 作者: qianxunman

  8. 邮箱: hb.luojun@outlook.com
  9. 网站: https://freedoo.qianxunman.top
  10. Author: qianxunman
  11. Email: hb.luojun@outlook.com
  12. Website: https://freedoo.qianxunman.top
  13. 当前版本: 12.0.1.0
  14. Current Version: 12.0.1.0

功能截图 / Screenshots

导出选项 导出选项 导出选项 报表嵌入界面 报表嵌入界面

代码示例 / Code Examples

内嵌网页报表示例 / Example of Embedding Web Page Reports

xml <record id="sale_order_action_url" model="ir.actions.client"> <field name="name">report_center_action_url</field> <field name="tag">iframe_action</field> <field name="context">{'url': 'https://birt.qianxunman.top/birt/frameset?__report=sale_order_name.rptdesign'}</field> </record>

导出功能示例 / Example of Export Function

xml <record id="purchase_order_birt_report_pdf" model="ir.actions.report"> <field name="name">purchase Order Birt pdf</field> <field name="model">purchase.order</field> <field name="report_type">qweb-text</field> <field name="birt_format">pdf</field> <field name="birt_url">https://birt.qianxunman.top/birt/run?__report=purchase_order.rptdesign</field> <field name="binding_model_id" ref="purchase.model_purchase_order"/> <field name="report_name">purchase Order Birt pdf</field> <field name="print_report_name">'purchase order - %s' % (object.name)</field> </record>

BIRT 报表接收参数设置

使用 ids 接收 Odoo 网页传递的参数 传参

注意事项

BIRT 服务和 Odoo 服务都需要配置 SSL(HTTPS),才能正常访问

BIRT report parameter reception settings Use ids to receive parameters passed from the Odoo web page Parameter passing

Notes

Both the BIRT service and the Odoo service need to be configured with SSL (HTTPS) to be accessed normally.

相关链接 / Related Links

  • BIRT官方网站
  • BIRT文档中心
  • BIRT社区论坛
  • BIRT GitHub仓库

Official Links: - BIRT Official Site - BIRT Documentation - BIRT Community Forum - BIRT GitHub Repository

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.