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

How to create a http url for a pdf report ? , So that users can use the url to access the report as a pdf in odoo15.

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

Hi,

See the below parts form odoo qweb documentation: https://www.odoo.com/documentation/15.0/developer/reference/backend/reports.html


Reports are web pages
Reports are dynamically generated by the report module and can be accessed directly via URL:

For example, you can access a Sale Order report in html mode by going to http:///report/html/sale.report_saleorder/38

Or you can access the pdf version at http:///report/pdf/sale.report_saleorder/38

1
it does not matter what timezone the datetime object is actually in (including no timezone), its timezone will unconditionally be set to UTC before being adjusted to the user’s

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 22
5563
1
thg 6 25
4414
1
thg 6 21
4746
2
thg 9 24
3340
1
thg 5 24
1805