After investigating, I found the error (in website_templates.xml) :
Instead of :
ga('create', '<analytics-id>', 'auto');
the new version of Odoo generates :
ga('create', _.str.trim('<analytics-id>'), 'auto');
which causes an error in Google analytics stat generation
You can easily fix it by editing website_templates.xml with a text editor.
This file is located in your_path_to_odoo/addons/website/views/website_templates.xml (For example: /opt/openerp/odoo/appserver-dts-v8/parts/odoo-8.0-20150210/openerp/addons/website/views/website_templates.xml)
To have access to this path you need to be connected in SSH with a tool sush as Bitvise SSH Client.
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/8/14, 8:04 AM|
|Seen: 2612 times|
|Last updated: 11/20/15, 4:17 AM|