CybroOdoo / OpenHRMS

GNU Affero General Public License v3.0
137 stars 223 forks source link

I can't install Open HRMS Core (ohrms_core) in Odoo 15 on localhost over windows 10 #87

Open jcd3dr opened 2 years ago

jcd3dr commented 2 years ago

I need some help to install this module, here is the error. Thanks.

RPC_ERROR Odoo Server Error Traceback (most recent call last): File "C:\Odoo 15.0.20220325\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch result = request.dispatch() File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 688, in dispatch result = self._call_function(self.params) File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 360, in _call_function return checked_call(self.db, *args, *kwargs) File "C:\Odoo 15.0.20220325\server\odoo\service\model.py", line 94, in wrapper return f(dbname, args, kwargs) File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 349, in checked_call result = self.endpoint(*a, kw) File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 917, in call return self.method(*args, *kw) File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 536, in response_wrap response = f(args, kw) File "C:\Odoo 15.0.20220325\server\odoo\addons\web\controllers\main.py", line 1352, in call_button action = self._call_kw(model, method, args, kwargs) File "C:\Odoo 15.0.20220325\server\odoo\addons\web\controllers\main.py", line 1340, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Odoo 15.0.20220325\server\odoo\api.py", line 464, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "C:\Odoo 15.0.20220325\server\odoo\api.py", line 451, in _call_kw_multi result = method(recs, *args, *kwargs) File "", line 2, in button_immediate_install File "C:\Odoo 15.0.20220325\server\odoo\addons\base\models\ir_module.py", line 74, in check_and_log return method(self, args, **kwargs) File "C:\Odoo 15.0.20220325\server\odoo\addons\base\models\ir_module.py", line 483, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "C:\Odoo 15.0.20220325\server\odoo\addons\base\models\ir_module.py", line 600, in _button_immediate_function registry = modules.registry.Registry.new(self._cr.dbname, update_module=True) File "C:\Odoo 15.0.20220325\server\odoo\modules\registry.py", line 87, in new odoo.modules.load_modules(registry, force_demo, status, update_module) File "C:\Odoo 15.0.20220325\server\odoo\modules\loading.py", line 476, in load_modules loaded_modules, update_module, models_to_check) File "C:\Odoo 15.0.20220325\server\odoo\modules\loading.py", line 365, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "C:\Odoo 15.0.20220325\server\odoo\modules\loading.py", line 198, in load_module_graph registry.setup_models(cr) File "C:\Odoo 15.0.20220325\server\odoo\modules\registry.py", line 290, in setup_models model._setup_fields() File "C:\Odoo 15.0.20220325\server\odoo\models.py", line 3049, in _setup_fields field.setup(self) File "C:\Odoo 15.0.20220325\server\odoo\fields.py", line 464, in setup self.setup_nonrelated(model) File "C:\Odoo 15.0.20220325\server\odoo\fields.py", line 3359, in setup_nonrelated invf = comodel._fields[self.inverse_name] Exception

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

Traceback (most recent call last): File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 644, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Odoo 15.0.20220325\server\odoo\http.py", line 302, in _handle_exception raise exception.with_traceback(None) from new_cause KeyError: 'payslip_payment_id'