Skip to Content
Menu
This question has been flagged
2341 Views
Error Msg attached here:

Odoo Server Error
Traceback (most recent call last):
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 653, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 312, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "E:\Odoo\Odoo-12\OCA-12\odoo\tools\pycompat.py", line 87, in reraise
    raise value
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 695, in dispatch
    result = self._call_function(**self.params)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 344, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\service\model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 337, in checked_call
    result = self.endpoint(*a, **kw)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 938, in __call__
    return self.method(*args, **kw)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\http.py", line 517, in response_wrap
    response = f(*args, **kw)
  File "E:\Odoo\Odoo-12\OCA-12\addons\web\controllers\main.py", line 966, in call_button
    action = self._call_kw(model, method, args, {})
  File "E:\Odoo\Odoo-12\OCA-12\addons\web\controllers\main.py", line 954, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\api.py", line 749, in call_kw
    return _call_kw_multi(method, model, args, kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\api.py", line 736, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\addons\website\wizard\base_language_install.py", line 25, in lang_install
    action = super(BaseLanguageInstall, self).lang_install()
  File "E:\Odoo\Odoo-12\OCA-12\odoo\addons\base\wizard\base_language_install.py", line 36, in lang_install
    mods.with_context(overwrite=self.overwrite)._update_translations(self.lang)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\addons\base\models\ir_module.py", line 860, in _update_translations
    self.env['ir.translation'].load_module_terms(mod_names, filter_lang)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\addons\base\models\ir_translation.py", line 760, in load_module_terms
    tools.trans_load(self._cr, trans_file, lang, verbose=False, module_name=module_name, context=context)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\tools\translate.py", line 1015, in trans_load
    result = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, module_name=module_name, context=context)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\tools\translate.py", line 1155, in trans_load_data
    irt_cursor.finish()
  File "E:\Odoo\Odoo-12\OCA-12\odoo\addons\base\models\ir_translation.py", line 159, in finish
    """ % (self._model_table, self._table))
  File "E:\Odoo\Odoo-12\OCA-12\odoo\sql_db.py", line 148, in wrapper
    return f(self, *args, **kwargs)
  File "E:\Odoo\Odoo-12\OCA-12\odoo\sql_db.py", line 225, in execute
    res = self._obj.execute(query, params)
psycopg2.ProgrammingError: there is no unique or exclusion constraint matching the ON CONFLICT specification
Avatar
Discard
Related Posts Replies Views Activity
4
Jul 24
5046
2
Jul 24
493
4
Jun 24
22360
3
Apr 24
591
1
Feb 24
848