Advertisement
hasancse1991

Untitled

Jun 26th, 2020
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5. File "/opt/bs_hrms/odoo/odoo/http.py", line 653, in _handle_exception
  6. return super(JsonRequest, self)._handle_exception(exception)
  7. File "/opt/bs_hrms/odoo/odoo/http.py", line 312, in _handle_exception
  8. raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  9. File "/opt/bs_hrms/odoo/odoo/tools/pycompat.py", line 87, in reraise
  10. raise value
  11. File "/opt/bs_hrms/odoo/odoo/http.py", line 695, in dispatch
  12. result = self._call_function(**self.params)
  13. File "/opt/bs_hrms/odoo/odoo/http.py", line 344, in _call_function
  14. return checked_call(self.db, *args, **kwargs)
  15. File "/opt/bs_hrms/odoo/odoo/service/model.py", line 97, in wrapper
  16. return f(dbname, *args, **kwargs)
  17. File "/opt/bs_hrms/odoo/odoo/http.py", line 337, in checked_call
  18. result = self.endpoint(*a, **kw)
  19. File "/opt/bs_hrms/odoo/odoo/http.py", line 939, in __call__
  20. return self.method(*args, **kw)
  21. File "/opt/bs_hrms/odoo/odoo/http.py", line 517, in response_wrap
  22. response = f(*args, **kw)
  23. File "/opt/bs_hrms/odoo/addons/web/controllers/main.py", line 934, in call_kw
  24. return self._call_kw(model, method, args, kwargs)
  25. File "/opt/bs_hrms/odoo/addons/web/controllers/main.py", line 926, in _call_kw
  26. return call_kw(request.env[model], method, args, kwargs)
  27. File "/opt/bs_hrms/odoo/odoo/api.py", line 689, in call_kw
  28. return call_kw_multi(method, model, args, kwargs)
  29. File "/opt/bs_hrms/odoo/odoo/api.py", line 680, in call_kw_multi
  30. result = method(recs, *args, **kwargs)
  31. File "/opt/bs_hrms/odoo/odoo/models.py", line 5204, in onchange
  32. record._onchange_eval(name, field_onchange[name], result)
  33. File "/opt/bs_hrms/odoo/odoo/models.py", line 5021, in _onchange_eval
  34. method_res = method(self)
  35. File "/opt/bs_hrms/odoo/custom_addons/bs_hr_holidays/models/bs_hr_holidays_request.py", line 222, in _onchange_date
  36. raise warning.ThrowWarning(message=_("Start or End date can not be in different Fiscal year."), title=_("Data Error"))
  37. TypeError: exceptions must derive from BaseException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement