跳至内容
菜单
此问题已终结
1 回复
6021 查看

I created a report record via the interface but it doesn't show up in the print dropdown.

In settings -> actions -> reports, I added a new record:

Name: My Test

Service Name: my_po_reports

Object: purchase.order

Report Type: pdf

Report file: purchase/report/order.rml (i'm reusing an existing one just to test)

But My Test does NOT show up when I go to purchase order form!

What am I missing?

Thanks

形象
丢弃
编写者 最佳答案

This did the trick for me:

<report id="mytest_report_id" 
        model="purchase.order" 
        name="purchase.order.test" 
        string="My PO Test"
        report_type="aeroo"
        rml="textile_chemonics/reports/template.odt"/>
形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
7771
2
3月 15
6532
1
3月 15
7967
2
3月 15
6185
1
8月 25
291