Community mailing list archives

community@mail.odoo.com

Google API and Uncaught TypeError: Cannot read property 'immediate' of undefined(…)

by
Jerome Sonnet
- 11/13/2016 14:08:57
Hi Community,

I am the developper of a module that allows the attachement of GDrive Documents.

The module works fine under the Community Edition but I have a very bad bug with the Enterprise version.

As soon as the API is initialized and loaded, going back to the main application screen and entering again an application cause this very strange errror,

Uncaught TypeError: Cannot read property 'immediate' of undefined(…)

Looking for three days at the forum it seems it could be linked to iFrame management and the way the new frontend manage the DOM tree.

Have any one encountered this issue with Odoo Enterprise ? Any solution ?

A way around would be to use the python API as the Odoo module do... but it means rewriting pretty much everything.

Best regards,