Skip to Content
Menu
This question has been flagged
2 Replies
2042 Views
Odoo Server Error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 624, in _handle_exception
    return super (JsonRequest, self) ._ handle_exception (exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise (type (exception), exception, sys.exc_info () [2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 669, in dispatch
    result = self._call_function (** self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 350, in _call_function
    return checked_call (self.db, * args, ** kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
    return f (dbname, * args, ** kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
    result = self.endpoint (* a, ** kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 915, in __call__
    return self.method (* args, ** kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
    response = f (* args, ** kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1322, in call_kw
    return self._call_kw (model, method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1314, in _call_kw
    return call_kw (request.env [model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 383, in call_kw
    result = _call_kw_model (method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 356, in _call_kw_model
    result = method (recs, * args, ** kwargs)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1438, in load_views
    result ['fields_views'] = {
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1439, in <dictcomp>
    v_type: self.fields_view_get (v_id, v_type if v_type! = 'list' else 'tree',
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 384, in fields_view_get
    ret_val = super (ResConfigSettings, self) .fields_view_get (
  File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 206, in fields_view_get
    r = super (). fields_view_get (view_id, view_type, toolbar, submenu)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 1528, in fields_view_get
    xarch, xfields = View.postprocess_and_fields (self._name, etree.fromstring (result ['arch']), view_id)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 987, in postprocess_and_fields
    self.raise_view_error (message, view_id)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error
    raise ValueError (message)
ValueError: Field `fiscalyear_last_month` does not exist

Error context:
View `n / a`
[view_id: n / a, xml_id: n / a, model: n / a, parent_id: n / a]
Avatar
Discard
Best Answer

Dear Monica Sena,

First, you need to go to the apps menu and search module named 'base' and upgrade the module and check the error is fixed or not while accessing the settings. If you facing the same error after upgrade the base module you need to set the fiscal year. for setting up the Fiscal year. To define your Fiscal year, go to the menu Accounting or Invoice > Configuration > Periods and click Fiscal Years.

Thank you,

Avatar
Discard
Author

Thank you Ajin. I have done all that but the error still persists I have upgraded base , and the fiscal year is set to this year and other suggestions to help resolve this? Thanks

Author Best Answer

Hi Ajin,

Thank you for  the answer Ajin . I have updated base  but the error is still there and I am using odoo 13 community edition and have no option for fiscal years . I am however installing a free odoo 13 accounting app by odoo mates .I will update you if that works .

Thanks again














Avatar
Discard
Related Posts Replies Views Activity
1
Jan 21
1630
0
Dec 19
2534
0
Dec 20
1843
0
Oct 20
2304
0
May 20
1661