按需求修改一个报表,本想按照打印出来的报表内容搜索rml文件,找到需要修改的rml问加。

但是发现搜索不到,后来查询报表动作,确认对应的rml文件中,没有发现 “报表中” 的字串。

猜测可能是rml直接存入数据库了,果然在表ir_act_report_xml 中找到了report_rml_content_data ,report_sxw_content_data字段。

原因是使用base_report_designer模块,使用openoffice 直接修改报表上传后,

rml 和 sxw 文件都以二进制存入数据库。所有对应对report 下对文件失效。

查询二进制转文本对sql 如下:

select name, encode(report_rml_content_data,'escape')  from ir_act_report_xml;

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-06-23
  • 2021-08-19
  • 2021-03-30
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-11-08
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案