Skip to Content
Menu
This question has been flagged
2905 Views

Updated Odoo 9 this morning (10/24/2016) and now when we attempt to register incoming or outgoing payments, we get the following errors.  We're in USD and do not have multiple currencies enabled.  Any ideas?

Odoo Server Error

Traceback (most recent call last):

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 648, in _handle_exception
  return super(JsonRequest, self)._handle_exception(exception)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 685, in dispatch
  result = self._call_function(**self.params)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 321, in _call_function
  return checked_call(self.db, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper
  return f(dbname, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 314, in checked_call
  result = self.endpoint(*a, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 964, in __call__
  return self.method(*args, **kw)

File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 514, in
  response_wrap response = f(*args, **kw)

File "/opt/odoo/enterprise/addons/web/controllers/main.py", line 907, in call_kw
  return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/enterprise/addons/web/controllers/main.py", line 899, in _call_kw
  return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper
  return old_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 381, in old_api
  result = method(recs, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 6080, in onchange
  newval = record[name]

File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5757, in __getitem__
  return self._fields[key].__get__(self, type(self))

File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 832, in __get__
  self.determine_draft_value(record)

File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 947, in determine_draft_value
  self._compute_value(record)

File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 883, in _compute_value
  getattr(records, self.compute)()

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper
  return new_api(self, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 425, in new_api
  result = [method(rec, *args, **kwargs) for rec in self]

File "/opt/odoo/enterprise/addons/account/models/account_payment.py", line 184, in _compute_payment_difference
  self.payment_difference = self._compute_total_invoices_amount() - self.amount

File "/opt/odoo/enterprise/addons/account/models/account_payment.py", line 93, in _compute_total_invoices_amount
  total += inv.company_currency_id.with_context(date=self.payment_date).compute(inv.residual_company_signed, payment_currency)

File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper
  return new_api(self, *args, **kwargs)

File "/opt/odoo/enterprise/addons/base/res/res_currency.py", line 235, in compute
  assert to_currency, "compute to unknown currency"

AssertionError: compute to unknown currency


Avatar
Discard
Related Posts Replies Views Activity
2
Aug 19
3035
1
Apr 24
330
2
Jan 24
537
2
Nov 23
1009
1
Mar 24
837