Odoo Help

2

Installing report_webkit on V7 for windows

By
Mayte Montaño
on 7/16/13, 11:58 AM 5,916 views

I installed OpenERP V 7.0-20130706-231041 for windows and trying to install report_webkit 7.0.0.9, however I get this error msg when hitting the install button addons\report_webkit\ir_report.py", line 43, in ir_actions_report_xml TypeError: __init__() takes exactly 2 non-keyword arguments (1 given)*

What I am doint wrong!

*OpenERP Server Error
Client Traceback (most recent call last):   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\http.py", line 204, in dispatch   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\controllers\main.py", line 1132, in call_button   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\session.py", line 42, in proxy   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\session.py", line 30, in proxy_method   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\session.py", line 103, in send
Server Traceback (most recent call last):   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\web\session.py", line 89, in send   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\netsvc.py", line 292, in dispatch_rpc   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\service\web_services.py", line 626, in dispatch   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\osv\osv.py", line 188, in execute_kw   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\osv\osv.py", line 131, in wrapper   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\osv\osv.py", line 197, in execute   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\osv\osv.py", line 185, in execute_cr   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\base\module\module.py", line 424, in button_immediate_install  File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\base\module\module.py", line 475, in
_button_immediate_function   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\pooler.py", line 39, in restart_pool   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\registry.py", line 218, in new   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\loading.py", line 345, in load_modules   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\loading.py", line 256, in load_marked_modules   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\loading.py", line 159, in load_module_graph   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\module.py", line 405, in load_openerp_module   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\.\openerp\modules\module.py", line 133, in load_module   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\report_webkit\__init__.py", line 36, in <module>   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\report_webkit\ir_report.py", line 37, in <module>   File "C:\Program Files\OpenERP
7.0-20130706-231041\Server\server\openerp\addons\report_webkit\ir_report.py", line 43, in ir_actions_report_xml TypeError: __init__() takes exactly 2 non-keyword arguments (1 given)*

Hi, I have windows server 2003 Installed openerp 7 under : C:\Program Files (x86)\OpenERP 7.0 Installed wkhtmltopdf “wkhtmltox-0.11.0_rc1-installer.exe ”under : C:\Program Files (x86)\wkhtmltopdf Installed Financial Reports – Webkit v. 1.0 Under System Parameters add: Key : webkit_path Value : C:\Program Files (x86)\wkhtmltopdf

But when I run the General Ledger report I get the following error: coercing to Unicode: need string or buffer, bool found (<type 'exceptions.TypeError'>, TypeError('coercing to Unicode: need string or buffer, bool found',), <traceback object at 0x10A115A8>)

Emad Sherbini
on 7/19/13, 3:37 PM
1
youring
On 8/29/13, 11:09 PM

Try GreenOpenERP by buke! with wkhtmltopdf integrated.

http://sourceforge.net/projects/greenopenerp/files/

You can install camptocamp webkit report modules or other custom modules directly upon it!

http://bazaar.launchpad.net/~sale-core-editors/sale-reports/7.0/files

http://bazaar.launchpad.net/~account-core-editors/account-invoice-report/7.0/files

You can download example module report webkit at https://apps.openerp.com/apps/sale_order_webkit/. This module help you create a webkit report on quotation of sale order. If you want to print with format ".html", you must access to action report and enable "Webkit debug".

OpenERP Vietnam
on 8/30/13, 5:49 AM
1
Willem de Vlam
On 12/4/13, 2:32 PM

I'm struggling with this too.

I'd rather not install a completely different version that's supported by a single person who might quit, give up or get hit by a car, especially when I don't know what installing it does exactly since he's rather sparse with the documentation.

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

Question tools

1 follower(s)

Stats

Asked: 7/16/13, 11:58 AM
Seen: 5916 times
Last updated: 3/16/15, 8:10 AM