القائمة

المساعدة

0

How can I solve Error with opening Studio App in Odoo?

Avatar
Kaya Lotta

I have the following Problem, when beeing logged in as admin:

  • I can access the Contacts Module and the records in it.
  • When I try to open the Studio App in Contacts Modul nothing happens. It does not open.
  • When I try to open a record after trying to open the Studio App I get the following Error:
Traceback (most recent call last):
  File "/home/secusmart/odoo15-prod/odoo/odoo/http.py", line 644, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/secusmart/odoo15-prod/odoo/odoo/http.py", line 302, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: Element '<xpath expr="//field[@name='id']">' cannot be located in parent view

So the error only appears, when I first try to open the Studio App. Other wise I can open the records! And it only happens in this specific module.

I looked up which field is mentioned in the xpath expression and its technical name is "translate". But I can`t find the xpath expression in any view from res.partner model.

Has anyone a tip how I can find the mentioned xpath ?

Thanks


الصورة الرمزية
تجاهل
1الإجابة
0
Best Answer

Hi,

The reason for this error is that the field ‘id’ is removed or can’t locate. So for solving this problem either you need to replace the xpath field name with any other field or you need to add a field ‘id’ in contact or you need to remove the xpath from the studio view.

Regards

الصورة الرمزية
تجاهل