After install modules My frontend (website) load without css and js and I see TypeError: openerp.init is not a constructor in consol
How I need do for go to worked version? Deinstall modules and restart server - dont help for me
check structure of file in your module..
there should be (among other files) :
__openerp__.py wich is a constructor / descriptor
__init__.py wich is (as the name said) init file..
i think you might have something like: openerp.init file existing in your module folder.. (wich does not make any sense) :)
I have the same problem when trying to reach http://localhost:8069/web?db=mydb. All the installation works well. I'm able to initialize a new database but then, I'm redirected to a blank page. Bugzilla console warns me with a great "openerp.init is not a constructor".
That console indicates me the error is coming from a jQuery function inserted in the HTML page:
var s = new openerp.init();
var wc = new s.web.WebClient();
From where do you think the error is coming from? Do you think is it a missing dependency?
Thank you for your reading.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/19/14, 3:12 PM|
|Seen: 2366 times|
|Last updated: 3/18/15, 11:36 AM|