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

I want to make  a report for sale order that can be print on the 80mmx250mm paper size. 

but i found that odoo v15 CE don't have that kind of paper size format.

So how can i make a new paper size format in odoo v15 CE?

Thks.

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

Hi,

If you need to do it from the UI, you can navigate to Settings -> Technical -> Reporting -> Paper Format and create a new paper format from here.

If you need to do the same from code,  see this code sample: https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/report_paperformat_data.xml

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 3 23
6335
2
thg 8 25
3135
1
thg 4 25
4530
2
thg 7 24
6085
1
thg 4 24
1923