Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
8 Ответы
28124 Представления

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 ?

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор

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

Автор

Okay, thanks !

Лучший ответ

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

Аватар
Отменить
Автор

Thanks to both Felipe and Erwin !

Лучший ответ

Hi PY! 

At the final, You have solved the problem? 

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 24
1566
0
окт. 22
2469
2
янв. 24
8038
0
авг. 17
4463
0
мая 16
3558