Hello,
I wanted to put something near the name of the user in the upper menu, rigtth coner.
I try to do this : http://lolierp.blogspot.pt/2014/11/odoo-8-heritage-de-javascript-ex.html
But nothing happend, I don't know if it is the version...
Then I made some changes in __openerp__.py:
I tryed like this :
'js': ["static/src/js/mydisplaydb.js"],
'qweb' : ["static/src/xml/mydisplaydb.xml"],
than like this:
'data': [],
'js': ["static/src/js/mydisplaydb.js"],
'qweb' : [],
And I change the the mydisplaydb.xml, because I was getting an error:
<template id="assets_backend" name="change_bar" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/vi_change_bar/static/src/js/mydisplaydb.js"></script>
</xpath>
</template>
Still nothing.
I wanted to put there a float returned by a function, for the user to know is balance.
I'm not familiar to JS.