Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6102 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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"/>
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
7864
2
thg 3 15
6606
1
thg 3 15
8051
2
thg 3 15
6237
1
thg 8 25
556