Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4165 Lượt xem

Error:

Odoo Server Error


Traceback (most recent call last):

  File "D:\Odoo 14 Enterprise\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 682, in dispatch

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

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 358, in _call_function

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

  File "D:\Odoo 14 Enterprise\server\odoo\service\model.py", line 94, in wrapper

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

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 346, in checked_call

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

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 911, in __call__

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

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 530, in response_wrap

    response = f(*args, **kw)

  File "D:\Odoo 14 Enterprise\server\odoo\addons\web\controllers\main.py", line 1363, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "D:\Odoo 14 Enterprise\server\odoo\addons\web\controllers\main.py", line 1351, in _call_kw

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

  File "D:\Odoo 14 Enterprise\server\odoo\api.py", line 396, in call_kw

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

  File "D:\Odoo 14 Enterprise\server\odoo\api.py", line 383, in _call_kw_multi

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

  File "<decorator-gen-72>", line 2, in button_immediate_install

  File "D:\Odoo 14 Enterprise\server\odoo\addons\base\models\ir_module.py", line 72, in check_and_log

    return method(self, *args, **kwargs)

  File "D:\Odoo 14 Enterprise\server\odoo\addons\base\models\ir_module.py", line 473, in button_immediate_install

    return self._button_immediate_function(type(self).button_install)

  File "D:\Odoo 14 Enterprise\server\odoo\addons\base\models\ir_module.py", line 591, in _button_immediate_function

    modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "D:\Odoo 14 Enterprise\server\odoo\modules\registry.py", line 89, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "D:\Odoo 14 Enterprise\server\odoo\modules\loading.py", line 455, in load_modules

    loaded_modules, update_module, models_to_check)

  File "D:\Odoo 14 Enterprise\server\odoo\modules\loading.py", line 348, in load_marked_modules

    perform_checks=perform_checks, models_to_check=models_to_check

  File "D:\Odoo 14 Enterprise\server\odoo\modules\loading.py", line 198, in load_module_graph

    registry.init_models(cr, model_names, {'module': package.name}, new_install)

  File "D:\Odoo 14 Enterprise\server\odoo\modules\registry.py", line 402, in init_models

    model.init()

  File "D:\Odoo 14 Enterprise\server\odoo\addons\fleet\report\fleet_report.py", line 135, in init

    sql.SQL(query)

  File "<decorator-gen-3>", line 2, in execute

  File "D:\Odoo 14 Enterprise\server\odoo\sql_db.py", line 101, in check

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

  File "D:\Odoo 14 Enterprise\server\odoo\sql_db.py", line 298, in execute

    res = self._obj.execute(query, params)

Exception


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 638, in _handle_exception

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

  File "D:\Odoo 14 Enterprise\server\odoo\http.py", line 314, in _handle_exception

    raise exception.with_traceback(None) from new_cause

psycopg2.errors.IndeterminateCollation: could not determine which collation to use for view column "cost_type"

HINT:  Use the COLLATE clause to set the collation explicitly.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Odoo uses PostgreSQL as database management system. Download and install PostgreSQL (supported version: 10.0 and later).
https://www.odoo.com/documentation/14.0/setup/install.html

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 21
7076
2
thg 7 21
4025
0
thg 4 24
1202
0
thg 12 23
2185
4
thg 7 25
15173