Skip to Content
Menu
This question has been flagged
1 Reply
2390 Views

The "Get tracked link" button is not clickable.  I made sure that flash was not being blocked and if I right click on the button it says "Movie is not loaded"

Tried it in V9 too, but same thing - tried it in Firefox, Chrome and IE 11 under Windows 7 and 10 and same behavior.  Broken?  Missing something?

Maybe it because I am using https?

Narrowed it down some more - the file at website_links/static/lib/zeroclipboard/ZeroClipboard.swf is missing (404) and searching through the file system doesn't show it anywhere.  There is a "zerclipboard.js" though.

I upgraded to the latest daily build of Odoo (10.0.20170209) and no luck.


Avatar
Discard
Author Best Answer

[Fixed] Ok, this is most certainly a bug - Odoo hasn't updated to the latest "ZeroClipboard" code from here:

https://github.com/zeroclipboard/zeroclipboard


The work around/fix requires command line access to your Odoo server:

  1. Change to the /usr/lib/python2.7/dist-packages/odoo/addons/website_links/static/lib/zeroclipboard directory for v10, or /usr/lib/python2.7/dist-packages/openerp/addons/web/static/lib/zeroclipboard for v9

  2. Download the following files:
    wget https://github.com/zeroclipboard/zeroclipboard/raw/master/dist/ZeroClipboard.swf
    mv ZeroClipboard.js ZeroClipboard.js.old
    wget https://raw.githubusercontent.com/zeroclipboard/zeroclipboard/master/dist/ZeroClipboard.js

  3. Profit

You will, of course, need to allow Chrome to load the flash plugin and clear the cache to get the new javascript file.  The "mv" command is so that wget doesn't download the .js file and name it .js.1

If you found this useful, vote it up please, I need Karma!@

Avatar
Discard

Karma given :-)

Author

Thank you!