Hi,
I installed Open HRMS - HR Dashboard, When opened it I get an error :
Odoo Server Error
Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\tools\pycompat.py", line 87, in reraise raise value File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 698, in dispatch result = self._call_function(**self.params) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\service\model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 941, in __call__ return self.method(*args, **kw) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\http.py", line 519, in response_wrap response = f(*args, **kw) File "c:\program files (x86)\odoo 12.0\server\odoo\addons\web\controllers\main.py", line 963, in call_kw return self._call_kw(model, method, args, kwargs) File "c:\program files (x86)\odoo 12.0\server\odoo\addons\web\controllers\main.py", line 955, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\api.py", line 755, in call_kw return _call_kw_model(method, model, args, kwargs) File "C:\Program Files (x86)\Odoo 12.0\server\odoo\api.py", line 728, in _call_kw_model result = method(recs, *args, **kwargs) File "c:\program files (x86)\odoo 12.0\custom\hrms_dashboard\models\hrms_dashboard.py", line 232, in get_department_leave days = employee.get_work_days_dashboard(from_dt, to_dt) File "c:\program files (x86)\odoo 12.0\custom\hrms_dashboard\models\hrms_dashboard.py", line 265, in get_work_days_dashboard intervals = calendar._attendance_intervals(from_full, to_full, resource) File "c:\program files (x86)\odoo 12.0\server\odoo\addons\resource\models\resource.py", line 218, in _attendance_intervals tz = timezone((resource or self).tz) File "C:\Program Files (x86)\Odoo 12.0\python\lib\site-packages\pytz\__init__.py", line 170, in timezone if zone.upper() == 'UTC': AttributeError: 'bool' object has no attribute 'upper'
Thanks in advance