This question has been flagged

Hi all,

I'm making a new app that creates menus "on the fly".

I need to know how to refresh the page in order to update menus. (Not manually, no F5, etc)

I tried with:

cr.commit()
openerp.service.restart_server()
 return {
            'type': 'ir.actions.client',
            'tag': 'home',
            'params': {'wait': True},
}

But that does not reload the page completly.

All suggestions are welcome.

Regards

Avatar
Discard