Applying May 8th's patch breaks human resource module
It seems last patch deleted or renamed a column in database, when applying it, human resource module will give "view n/a" error. Upgrading the hrms core module will fix the issue but it will mess up the menu, attendance, report etc. will show up on main menu instead.
Could you please provide more details about the error?
When I applied the Bug fix patch from 2 days and restarted the odoo service, I got the following error when trying to acces Human Resource module : Error: Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/http.py", line 654, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/odoo/odoo/http.py", line 696, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 962, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 745, in call_kw
return _call_kw_model(method, model, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 718, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo/odoo/models.py", line 1376, in load_views
for [v_id, v_type] in views
File "/opt/odoo/odoo/odoo/models.py", line 1376, in
Error context:
View n/a
[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]
And after I got the error, I tried upgrading the "Open HRMS employee info" module. After the upgrade I can access the "human resource" module but the main menu on the left was broken, meaning there was lot menu options that weren't there before, such as "Leaves config", "Settings", "Reports", "Payroll", "Expenses" etc.