Help

0

While installing muk_dms module

Avatar
Nuraddin

Hello,

While installing muk_dms third party app, I am facing with below install error, anybody solve this problem?

Odoo Server Error
Traceback (most recent call last):
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 624, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "E:\Servers\Odoo 13.0\server\odoo\tools\pycompat.py", line 14, in reraise
    raise value
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 669, in dispatch
    result = self._call_function(**self.params)
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\service\model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 915, in __call__
    return self.method(*args, **kw)
  File "E:\Servers\Odoo 13.0\server\odoo\http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1326, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\web\controllers\main.py", line 1314, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\api.py", line 387, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\api.py", line 374, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-60>", line 2, in button_immediate_install
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 72, in check_and_log
    return method(self, *args, **kwargs)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 463, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_module.py", line 573, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "E:\Servers\Odoo 13.0\server\odoo\modules\registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "E:\Servers\Odoo 13.0\server\odoo\modules\loading.py", line 423, in load_modules
    loaded_modules, update_module, models_to_check)
  File "E:\Servers\Odoo 13.0\server\odoo\modules\loading.py", line 315, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "E:\Servers\Odoo 13.0\server\odoo\modules\loading.py", line 202, in load_module_graph
    registry.init_models(cr, model_names, {'module': package.name}, new_install)
  File "E:\Servers\Odoo 13.0\server\odoo\modules\registry.py", line 355, in init_models
    func()
  File "E:\Servers\Odoo 13.0\server\odoo\models.py", line 359, in _reflect
    self.env['ir.model.fields']._reflect_model(self)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_model.py", line 896, in _reflect_model
    new_vals = self._reflect_field_params(field)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\mail\models\ir_model_fields.py", line 19, in _reflect_field_params
    vals = super(IrModelField, self)._reflect_field_params(field)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_model.py", line 852, in _reflect_field_params
    model = self.env['ir.model']._get(field.model_name)
  File "E:\Servers\Odoo 13.0\server\odoo\addons\base\models\ir_model.py", line 168, in _get
    return self.sudo().browse(model_id)
  File "E:\Servers\Odoo 13.0\server\odoo\models.py", line 5049, in sudo
    return self.with_env(self.env(su=flag))
TypeError: __call__() got an unexpected keyword argument 'su'

Avatar
Negeren