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 design my own report using Aeroo report and get output file in Excel format ?

By
WangYanDong
on 3/3/14, 8:19 AM 1,608 views
  1. I installed aeroolib , report_aeroo , report_aeroo_ooo , report_aeroo_printscreen , report_aeroo_sample successfully.But when I run my application happened a error :

2014-03-03 19:20:20,788 6048 INFO demo openerp.loglevels.deprecated.report_aeroo: OpenOffice.org connection successfully established

2014-03-03 19:20:20,867 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.printscreen.list (ir.ui.view) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

2014-03-03 19:20:21,046 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.sample_report (res.partner) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

2014-03-03 19:20:21,068 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.report_product_catalog_ods (product.product) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

2014-03-03 19:20:21,082 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.report_product_catalog_simple_odt (product.product) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

2014-03-03 19:20:21,101 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.report_product_catalog_by_categories_odt (product.product) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

2014-03-03 19:20:21,118 6048 INFO demo openerp.addons.report_aeroo.report_aeroo: registering report.report_product_catalog_ods (product.product) Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\modules\registry.py", line 190, in get return cls.registries[db_name] KeyError: u'demo'

  1. I designed a simple .ods template and make my own report using report_aeroo_sample module,produced a error:

2014-03-03 20:53:19,492 6048 ERROR demo openerp.addons.report_aeroo.report_aeroo: OpenOffice.org related error! 'NoneType' object has no attribute 'storeToURL' Traceback (most recent call last): File "F:\OpenERP\Source\dotop\openerp\addons_aeroo\report_aeroo\report_aeroo.py", line 541, in create_aeroo_report data = self._generate_doc(DC, data, report_xml, print_id) File "F:\OpenERP\Source\dotop\openerp\addons_aeroo\report_aeroo\report_aeroo.py", line 420, in _generate_doc data = DC.saveByStream(report_xml.out_format.filter_name) File "F:\OpenERP\Source\dotop\openerp\addons_aeroo\report_aeroo_ooo\DocumentConverter.py", line 136, in saveByStream self.document.storeToURL('private:stream', self._toProperties(OutputStream = outputStream, FilterName = filter_name, FilterOptions=CSVFilterOptions)) AttributeError: 'NoneType' object has no attribute 'storeToURL'

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

0 follower(s)

Stats

Asked: 3/3/14, 8:19 AM
Seen: 1608 times
Last updated: 3/16/15, 8:10 AM