This question has been flagged
2 Replies
3858 Views

Hi,

Can anyone help me know how to resolve this problem guys.

I have installed odoo12 community and when i click on menu "Applications" i got this error :

Uncaught ReferenceError: pyeval is not defined

Avatar
Discard
Best Answer

Hi Rehene,

This has been a bug that has been in Odoo for a few months, when you have a (custom) filter set in some cases. You can find the report of this issue at https://github.com/odoo/odoo/issues/30377 
It has been fixed three days ago though, at https://github.com/odoo/odoo/commit/6355126ff11981285da8253f45ddd0872e324071 

If you update your Odoo instance to the latest source code and restart the Odoo the issue will be solved.
If it is not solved it means you've found a very similar bug, you can open a new ticket at https://github.com/odoo/odoo/issues then or at https://odoo.com/help (if you have an enterprise version).

Regards,
Yenthe

Avatar
Discard
Author

Thanks a lot Yenthe :) This works perfectly

You're welcome, happy to hear that!

Author

Hi Yenthe, would you please help me in an other question please

Best Answer

There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in your current script or scope otherwise , it will endup throwing this 'x' is not defined error .  This usually indicates that your library is not loaded and JavaScript does not recognize the 'x'. 

To solve this error: Load your library at the beginning of all your scripts.

There can be multiple other reasons for this issue:

  • Path to CDN library you included is not correct

  • The library file is corrupted

  • Working offline

  • Conflict with Other Libraries

http://net-informations.com/jq/intro/cdn.htm

Avatar
Discard