the function add_binary inside the file binary.make file

Asked by Bushair

Hi,
There is a function called add_binary calling inside the file binary.make file located in

/usr/local/lib/python2.6/dist-packages/openerp_web-5.0.9-py2.6.egg/openerp/widgets/binary.make file.

The line is

        % if editable:
        <button type="button" onclick="add_binary('${name}')">${_("Change")}</button>

Where is the function add_binary() for onclick is defined?

in which file the i can see the defenition for this function?

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Web Client Edit question
Assignee:
No assignee Edit question
Solved by:
Bushair
Solved:
Last query:
Last reply:
Revision history for this message
Bushair (bushairka) said :
#1

The file name is binary.mako not binary.make

Revision history for this message
Bushair (bushairka) said :
#2

Hi,
I got the file where this function is defined

/usr/local/lib/python2.6/dist-packages/openerp_web-5.0.9-py2.6.egg/openerp/static/javascript/binary.js