Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.41 KB | None | 0 0
  1. Odoo Server Error
  2. Traceback (most recent call last):
  3.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 677, in dispatch
  4.     result = self._call_function(**self.params)
  5.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 353, in _call_function
  6.     return checked_call(self.db, *args, **kwargs)
  7.   File "/Users/alain/odoo-server/odoo-dev/odoo/service/model.py", line 93, in wrapper
  8.     return f(dbname, *args, **kwargs)
  9.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 346, in checked_call
  10.     result = self.endpoint(*a, **kw)
  11.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 923, in __call__
  12.     return self.method(*args, **kw)
  13.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 523, in response_wrap
  14.     response = f(*args, **kw)
  15.   File "/Users/alain/odoo-server/odoo-dev/addons/web/controllers/main.py", line 1318, in call_kw
  16.     return self._call_kw(model, method, args, kwargs)
  17.   File "/Users/alain/odoo-server/odoo-dev/addons/web/controllers/main.py", line 1310, in _call_kw
  18.     return call_kw(request.env[model], method, args, kwargs)
  19.   File "/Users/alain/odoo-server/odoo-dev/odoo/api.py", line 394, in call_kw
  20.     result = _call_kw_multi(method, model, args, kwargs)
  21.   File "/Users/alain/odoo-server/odoo-dev/odoo/api.py", line 381, in _call_kw_multi
  22.     result = method(recs, *args, **kwargs)
  23.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_report.py", line 1124, in get_report_informations
  24.     'main_html': self.get_html(options),
  25.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_report.py", line 1162, in get_html
  26.     headers, lines = self._get_table(options)
  27.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_report.py", line 718, in _get_table
  28.     return self.get_header(options), self._get_lines(options)
  29.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_general_ledger.py", line 66, in _get_lines
  30.     return self._get_general_ledger_lines(options, line_id=line_id)
  31.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_general_ledger.py", line 82, in _get_general_ledger_lines
  32.     accounts_results, taxes_results = self._do_query(options_list, expanded_account=expanded_account)
  33.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_general_ledger.py", line 596, in _do_query
  34.     query, params = self._get_query_sums(options_list, expanded_account=expanded_account)
  35.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_general_ledger.py", line 428, in _get_query_sums
  36.     domain = [('account_id', 'in', [int(line[8:]) for line in options['unfolded_lines']])]
  37.   File "/Users/alain/odoo-server/enterprise-dev/account_reports/models/account_general_ledger.py", line 428, in <listcomp>
  38.     domain = [('account_id', 'in', [int(line[8:]) for line in options['unfolded_lines']])]
  39. Exception
  40.  
  41. The above exception was the direct cause of the following exception:
  42.  
  43. Traceback (most recent call last):
  44.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 632, in _handle_exception
  45.     return super(JsonRequest, self)._handle_exception(exception)
  46.   File "/Users/alain/odoo-server/odoo-dev/odoo/http.py", line 317, in _handle_exception
  47.     raise exception.with_traceback(None) from new_cause
  48. ValueError: invalid literal for int() with base 10: 'included1_res.currency2_account.account55'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement