Skip to Content
Menu
This question has been flagged
2 Replies
1383 Views

Hi is the CRM module supports different languages? For example Japanese and Korean?


Anurag 

Avatar
Discard
Author Best Answer

Thanks Ermin


I did try to install Japanese language and after installation I received error as below. Where do I report it?


Error:

Odoo Server Error


Traceback (most recent call last):

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 745, in get

    value = self._data[field][record._ids[0]]

KeyError: 2


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1002, in __get__

    value = env.cache.get(record, self)

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 751, in get

    raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: ('res.users(2,).last_activity_time', None)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 745, in get

    value = self._data[field][record._ids[0]]

KeyError: 1


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1002, in __get__

    value = env.cache.get(record, self)

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 751, in get

    raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: ('hr.employee(1,).last_activity_time', None)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 624, in _handle_exception

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

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 310, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/home/odoo/src/odoo/13.0/odoo/tools/pycompat.py", line 14, in reraise

    raise value

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 669, in dispatch

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

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 350, in _call_function

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

  File "/home/odoo/src/odoo/13.0/odoo/service/model.py", line 94, in wrapper

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

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 339, in checked_call

    result = self.endpoint(*a, **kw)

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 915, in __call__

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

  File "/home/odoo/src/odoo/13.0/odoo/http.py", line 515, in response_wrap

    response = f(*args, **kw)

  File "/home/odoo/src/odoo/13.0/addons/web/controllers/main.py", line 1322, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/home/odoo/src/odoo/13.0/addons/web/controllers/main.py", line 1314, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 387, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/home/odoo/src/odoo/13.0/odoo/api.py", line 374, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/home/odoo/src/odoo/13.0/odoo/addons/base/models/res_users.py", line 1298, in read

    res = super(UsersView, self).read(other_fields, load=load)

  File "/home/odoo/src/odoo/13.0/odoo/addons/base/models/res_users.py", line 454, in read

    return super(Users, self).read(fields=fields, load=load)

  File "/home/odoo/src/odoo/13.0/odoo/models.py", line 2918, in read

    vals[name] = convert(record[name], record, use_name_get)

  File "/home/odoo/src/odoo/13.0/odoo/models.py", line 5640, in __getitem__

    return self._fields[key].__get__(self, type(self))

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1026, in __get__

    self.compute_value(recs)

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1111, in compute_value

    records._compute_field_value(self)

  File "/home/odoo/src/odoo/13.0/odoo/models.py", line 3941, in _compute_field_value

    field.compute(self)

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 579, in _compute_related

    record[self.name] = self._process_related(value[self.related_field.name])

  File "/home/odoo/src/odoo/13.0/odoo/models.py", line 5640, in __getitem__

    return self._fields[key].__get__(self, type(self))

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1026, in __get__

    self.compute_value(recs)

  File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 1111, in compute_value

    records._compute_field_value(self)

  File "/home/odoo/src/odoo/13.0/odoo/models.py", line 3939, in _compute_field_value

    getattr(self, field.compute)()

  File "/home/odoo/src/odoo/13.0/addons/hr/models/hr_employee_base.py", line 73, in _compute_last_activity

    employee.last_activity_time = format_time(self.env, last_activity_datetime, time_format='short')

  File "/home/odoo/src/odoo/13.0/odoo/tools/misc.py", line 1321, in format_time

    locale = babel.Locale.parse(lang.code)

  File "/usr/lib/python3/dist-packages/babel/core.py", line 330, in parse

    raise UnknownLocaleError(input_id)

babel.core.UnknownLocaleError: unknown locale 'jp'

Avatar
Discard
Best Answer

Odoo is a mulilingual system with translations to many languages. This not related to particular apps.

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 23
15701
3
Nov 24
1835
2
Nov 24
252
2
Jun 24
518
2
Mar 24
384