【发布时间】:2015-07-20 05:41:54
【问题描述】:
请告诉我使用我的新模块在采购订单中创建报告的步骤。我创建了两个文件 views/purchase_report.xml 和 Ship/purchase_report.xml。其中 ship 是我的模块名称。
这是我的 Ship/purchase_report.xml
<report
id="custom_report_without_prices"
model="purchase.order"
string="purchases"
report_type="qweb-pdf"
name="Ship.purchase_report"
attachment_use="False"
file="Ship.purchase_report"
/>
在采购订单中添加报告需要哪些额外步骤。现在没有错误,但报告没有显示在采购订单的打印选项中。rml 文件的目的是什么,一些文档讲述了添加报告文件夹到模块。请给我详细信息
【问题讨论】: