Odoo Help

3

0
2 Answers
2
Piyush Suva India
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.

        }

 

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

Yes, you are rights, it's working.

Ask a Question
Writer
Keep Informed
2 follower(s)
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.

Register
Odoo Training Center

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

Test it now