跳至內容
選單
此問題已被標幟
1 回覆
6143 瀏覽次數

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
7893
2
3月 15
6644
1
3月 15
8111
2
3月 15
6264
1
8月 25
564