Odoo Help


Open PDF format report file name is not proper ?

Nirav Jani
on 10/14/14, 9:11 AM 1,357 views


I created report it is open from wizard on open PDF file

name like : report_name.pdf i want to change the name.

Thank in Advance.


Piyush Suva
On 10/15/14, 2:34 AM

On Method of Wizard please add the name in return value.

for Example:

 def _print_report(self, cr, uid, ids, data, context=None):
        if context is None:
            context = {}
        data = self.pre_print_report(cr, uid, ids, data, context=context)
        data['form'].update(self.read(cr, uid, ids, ['initial_balance', 'filter', 'page_split', 'amount_currency'])[0])
        return {
                'type': 'ir.actions.report.xml',
                'report_name': 'product_ledger',
                'datas': data, 

              'name': 'My REPORT NAME'  #Give Your Report name Here.



Jadav Vishal V
On 10/15/14, 3:39 AM

Yes, you are rights, it's working.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/14/14, 9:11 AM
Seen: 1357 times
Last updated: 3/16/15, 8:10 AM