the function add_binary inside the file binary.make file

Asked by Bushair on 2010-05-04

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:
OpenERP Web Client Edit question
Assignee:
No assignee Edit question
Solved by:
Bushair
Solved:
2010-05-04
Last query:
2010-05-04
Last reply:
Bushair (bushairka) said : #1

The file name is binary.mako not binary.make

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