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

OpenERP Server Error while Print Report

By
Manish
on 12/22/14, 2:45 AM 510 views

Hi,

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.

Error:

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?

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

1 follower(s)

Stats

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