Odoo Help

0

How to fix odoo server error which is responed when I am using executive summary

By
Seong-jin Park
on 7/24/16, 8:30 PM 289 views

I am using accounting app of the odoo online 8.

All of reporting menu is all right but only executive summary menu show me error message like below.

Please tell me how to fix it.


----------------------------------------Below--------------------------------------------------------------

Traceback (most recent call last):
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 319, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/saas-10/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 312, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 962, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/src/odoo/saas-10/openerp/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/src/enterprise/saas-10/web/controllers/main.py", line 900, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/src/enterprise/saas-10/web/controllers/main.py", line 892, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 254, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 385, in old_api
    result = method(recs, *args, **kwargs)
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_report_context_common.py", line 443, in get_html_and_data
    lines = self.get_report_obj().get_lines(self)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 252, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 80, in get_lines
    ).get_lines(self, context_id, currency_table, linesDicts)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 252, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 471, in get_lines
    new_lines = line.children_ids.get_lines(financial_report, context, currency_table, linesDicts)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 252, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 407, in get_lines
    r = line.with_context(date_from=period_from, date_to=period_to, strict_range=strict_range)._eval_formula(financial_report, debit_credit, context, currency_table, linesDicts[k])
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 306, in _eval_formula
    res = FormulaLine(self, currency_table, linesDict=linesDict)
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 510, in __init__
    fields = obj.get_balance(linesDict, currency_table)[0]
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 252, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/odoo/src/odoo/saas-10/openerp/api.py", line 429, in new_api
    result = [method(rec, *args, **kwargs) for rec in self]
  File "/home/odoo/src/enterprise/saas-10/account_reports/models/account_financial_report.py", line 256, in get_balance
    raise err
ValueError: <type 'exceptions.NameError'>: "name 'balance' is not defined" while evaluating
u'balance'

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/24/16, 8:30 PM
Seen: 289 times
Last updated: 7/25/16, 1:29 AM