Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1008 Widoki
Please
Odoo Server Error
Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 546, in _handle_exception
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 583, in dispatch
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 319, in _call_function
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\service\model.py", line 118, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 316, in checked_call
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 812, in __call__
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\http.py", line 412, in response_wrap
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\openerp\addons\web\controllers\main.py", line 944, in call_kw
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\openerp\addons\web\controllers\main.py", line 936, in _call_kw
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\models.py", line 1549, in fields_view_get
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\openerp\addons\base\ir\ir_ui_view.py", line 845, in postprocess_and_fields
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20170901\server\openerp\addons\base\ir\ir_ui_view.py", line 368, in raise_view_error
AttributeError: Field `login_calendar_id` does not exist

Error context:
View `res.users.tree`
[view_id: 154, xml_id: base.view_users_tree, model: res.users, parent_id: n/a]
Awatar
Odrzuć
Najlepsza odpowiedź

The error message you provided indicates that there is an issue with the view definition for the res.users.tree view. It seems that the field login_calendar_id is referenced in the view, but it does not exist in the res.users model.

To resolve this error, you will need to identify where the login_calendar_id field is being used in the res.users.tree view and remove or correct the reference. Here's how you can approach it:

  1. Go to the Odoo backend and access the "Settings" module.

  2. Under the "Technical" section, click on "User Interface" and then select "Views".

  3. Search for the view with the xml_id "base.view_users_tree" or view_id "154". This view corresponds to res.users.tree.

  4. Once you find the view, click on it to open the view definition.

  5. Look for any occurrences of the login_calendar_id field within the view and remove or correct the references.

  6. After making the necessary modifications, save the changes to the view.


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Verify whether the field login_calendar_id exists in the model res.users. This can be done by checking the model definition in Odoo's codebase or by accessing the database directly to inspect the table structure. If the field does not exist, it might indicate a problem with the module you are using or a customization that was not properly implemented. If the field is added by a custom module, ensure that all the necessary dependencies for that module are installed and up-to-date. Missing or outdated dependencies can lead to errors in the view definition.

Hope it helps

Awatar
Odrzuć