Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to set the file name for pdf generated through qweb ?

By
Karthik Arumugam
on 11/24/15, 2:45 AM 440 views

Please help me to set the file name for the qweb reports

For example in sale order report

sale_report instead of sale.report_saleorder.pdf

1

Drees Far

--Drees Far--
1130
| 5 2 6
Tunis, Tunisia
--Drees Far--
Drees Far
On 11/24/15, 3:52 AM

Hi Friend;

In this path: Sale/sale_report.xml you will find this:

<?xml version="1.0" encoding="utf-8"?>

<openerp>

<data>

<report auto="False" id="report_sale_order" model="sale.order" name="sale.order"

rml="sale/report/sale_order.rml" string="sale_report"

usage="default"/>

</data>

</openerp>

Every property of your report, you will put it there.

Best Regards.

Hi Drees Far I need to do this in qweb reports. And in qweb report i tried the above in odoo v8 code.

Karthik Arumugam
on 11/24/15, 4:19 AM

normally, you will find a file in which you will find the properties of the report which will be named as x_report.xml

Drees Far
on 11/24/15, 5:32 AM

follow this link my friend https://www.odoo.com/documentation/8.0/reference/reports.html

Drees Far
on 11/24/15, 5:32 AM

hey did you get it ??make me know my friend :)

Drees Far
on 11/24/15, 6:23 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/24/15, 2:45 AM
Seen: 440 times
Last updated: 11/24/15, 3:52 AM