Bug#513366: openerp-web toolbars not clickable
I had the same with toolbar not being clickable. I resolved this by
1. making symlinks
/usr/share/openerp-web/javascript/MochiKit ->
/usr/share/pyshared/openerp/static/javascript/MochiKit
/usr/share/openerp-web/javascript/tiny_mce ->
/usr/share/pyshared/openerp/static/javascript/tiny_mce
/usr/share/openerp-web/workflow/javascript/draw2d/mootools.js ->
/usr/share/pyshared/openerp/static/workflow/javascript/draw2d/mootools.js
2. changed /usr/share/pyshared/openerp/widgets/base/resource.py line 37
to this:
self.link = "/static/%s" % (self.filename)
In general I think all files in /usr/share/pyshared/openerp/static
should be all moved to /usr/share/openerp-web. The code needs some
patches as well, but I don't know the codebase well enough to make those
changes. I suppose widgets/form.py and widgets/base/resource.py need
modification, as they contain wrong URL "cp_widgets".
Tambet
Reply to: