Code review comment for lp:~sylvain-legal/web-addons/7.0-web_easy_switch_company

Revision history for this message
Sylvain LE GAL (GRAP) (sylvain-legal) wrote :

Hi Guewen,

I changed import call.

About the reload, the self.do_action('reload') doesn't work. I think because I'm in a instance.web.Widget class.
Can you say me how to call this function ? I 'rgreped' 'do_action' in web-addons without results.

As Arthru said, openerp call window.location.reload().
rgrep "window.*reload" ./ gives 3 references in openerp-web project.

Regards.

« Back to merge proposal