Odoo Help

0

0
1 Answer
0
Akshay
11/9/18, 5:40 AM

1.Make sure you added "report_xlsx" in the dependency

2. Check the indentation 

        PartnerXlsx('report.module_name.res.partner.xlsx',

        'res.partner')

        should be outside the class.

3. <report

      id="partner_xlsx"

      model="res.partner"

      string="Print to XLSX"

      report_type="xlsx"

      name="your_module_name.res.partner.xlsx"

      file="your_module_name.res.partner.xlsx"

      attachment_use="False"

Ask a Question
Writer
Keep Informed
1 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