Odoo Help


OpenERP Server Error while Print Report

on 12/22/14, 2:45 AM 822 views


I am getting following error when try to Print report from Accounting> Reporting> Here i am getting following error while try to Print any of reports.


OpenERP Server Error

Traceback (most recent call last):

  File "/opt/odoo/odoo/openerp/http.py", line 500, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/opt//odoo/odoo/openerp/http.py", line 517, in dispatch

    result = self._call_function(**self.params)

  File "/opt//odoo/odoo/openerp/http.py", line 283, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt//odoo/odoo/openerp/service/model.py", line 113, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt//odoo/odoo/openerp/http.py", line 280, in checked_call

    return self.endpoint(*a, **kw)

  File "/opt//odoo/odoo/openerp/http.py", line 733, in __call__

    return self.method(*args, **kw)

  File "/opt//odoo/odoo/openerp/http.py", line 376, in response_wrap

    response = f(*args, **kw)

  File "/opt//odoo/odoo/addons/web/controllers/main.py", line 948, in call_button

    action = self._call_kw(model, method, args, {})

  File "/opt//odoo/odoo/addons/web/controllers/main.py", line 936, in _call_kw

    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

  File "/opt//odoo/odoo/openerp/api.py", line 237, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt//odoo/odoo/addons/account/wizard/account_report_common.py", line 184, in check_report

    return self._print_report(cr, uid, ids, data, context=context)

  File "/opt//odoo/odoo/openerp/api.py", line 237, in wrapper

    return old_api(self, *args, **kwargs)

  File "/opt//odoo/odoo/addons/account/wizard/account_report_general_ledger.py", line 64, in _print_report

    return self.pool['report'].get_action(cr, uid, [], 'account.report_generalledger', data=data, context=context)

  File "/opt//odoo/odoo/openerp/api.py", line 237, in wrapper

    return old_api(self, *args, **kwargs)

TypeError: get_action() got an unexpected keyword argument 'data'


I am using v8 on Ubuntu 12.04

Can any one please suggest me posible solution?

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

1 follower(s)


Asked: 12/22/14, 2:45 AM
Seen: 822 times
Last updated: 3/16/15, 8:10 AM