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

Hi ! I'm using Odoo v8.

When I try to print/send a sale order, my generated PDF is a mess.

Long descriptions overlaps with column titles.

So, I would like to edit the rml file, like back in OpenERP v7.

The problem is, I can't find this file anymore. Some help ?

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

In v8 the reports are replaced by Qweb reports. The qweb views you can find by going to settings/technical/reports/reports. Find the report and after that you see a link to the qweb view. This one you can change and the effect is imediatly.

Ảnh đại diện
Huỷ bỏ
Tác giả

And this qweb view is then used to generate the PDF ?

Tác giả

Okay, thanks !

Câu trả lời hay nhất

Sale Report is now an QWEB(HTML) report not an RML, you can modify in setting->Actions->Reports, search for 'Quotation' select the sale.order one, there you can:

  1. change the report type to HTML, print a quotation/sale, and edit it with the website editor.
  2. click in Search associated QWEB views, select the report_saleorder_document, and edit it.
  3. change it via custom module.
     

for more info go to the officual documentation:https://www.odoo.com/documentation/8.0/reference/reports.html

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks to both Felipe and Erwin !

Câu trả lời hay nhất

Hi PY! 

At the final, You have solved the problem? 

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

For modify PDF. I didn't find exact one for modify PDF reports, but I found a PDF page modify guide: http://www.rasteredge.com/how-to/csharp-imaging/pdf-page-modify/ , you can check whether it's helpful to you.

Best regards.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 24
1617
0
thg 10 22
2514
2
thg 1 24
8076
0
thg 8 17
4502
0
thg 5 16
3586