Skip to Content
Menu
This question has been flagged
1 Reply
1090 Views

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 962, 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 954, 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\server\odoo\models.py", line 1396, in load_views

for [v_id, v_type] in views

File "C:\Program Files (x86)\Odoo 12.0\server\odoo\models.py", line 1396, in

for [v_id, v_type] in views

File "c:\program files (x86)\odoo 12.0\server\odoo\addons\muk_web_utils\models\res_config_settings.py", line 71, in fields_view_get

view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

File "c:\program files (x86)\odoo 12.0\server\odoo\addons\base\models\res_config.py", line 395, in fields_view_get

toolbar=toolbar, submenu=submenu)

File "C:\Program Files (x86)\Odoo 12.0\server\odoo\models.py", line 1482, in fields_view_get

xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)

File "c:\program files (x86)\odoo 12.0\server\odoo\addons\base\models\ir_ui_view.py", line 1131, in postprocess_and_fields

self.raise_view_error(message, view_id)

File "c:\program files (x86)\odoo 12.0\server\odoo\addons\base\models\ir_ui_view.py", line 568, 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

Hi,

Either you have to add this field to the corresponding model in the python side or you have to remove it from the views. Activate the developer mode, navigate to Settings -> Technical -> User Interface -> Views, open it, enter the above field name fiscalyear_last_month in the search bar and search inside the view architecture.


Open the view and delete the field from it.

Thanks

Avatar
Discard
Related Posts Replies Views Activity
2
Jun 19
12034
0
Jan 21
346
4
Jan 21
35926
1
Jan 19
3549
0
Aug 18
2609