Community mailing list archives
community@mail.odoo.com
Browse archives
Re: How to send to user request to reload page or redirect to another action
Re: How to send to user request to reload page or redirect to another action
Re: How to send to user request to reload page or redirect to another action
byYou can use it:return {'type': 'ir.actions.client','tag': 'reload','params': {'menu_id': menu_ids and menu_ids[0] or False}}
2014-09-26 12:32 GMT+07:00 Jean-Sébastien Suzanne <jssuzanne@anybox.fr>:2014-09-26 0:38 GMT+02:00 Maxim Litnitskiy <litnimaxster@gmail.com>:Thanks man!My method that returns action dict to a specific action when called by me in browser works ok.But I need that it will be triggered from cron for example.Let ask can cron redirect my browser to Messages action every 5 minutes? :-)You must use long polling with bus module. https://bitbucket.org/anybox/web_action_request
2014-09-26 0:44 GMT+04:00 Jean-Sébastien Suzanne <jssuzanne@anybox.fr>:your method must return the action dict to redirect to a spécific actionthe reload is the same, but it is not ir.actions.act_window, it is a ir.actions.client2014-09-25 15:16 GMT+02:00 Maxim Litnitskiy <litnimaxster@gmail.com>:Hi guys!I tried searching but cannot find.I remeber I met a howto with the following scenario.Server action script was sending specified user a window action and user browser was redirected to that action.Can anyone give a clue how to do it?Thanks._______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
--Jean-Sébastien SUZANNEjssuzanne@anybox.fr06 51 35 50 50_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
--Jean-Sébastien SUZANNEjssuzanne@anybox.fr06 51 35 50 50_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
--Denis Karataev_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe
Jean-Sébastien SUZANNE
jssuzanne@anybox.fr
06 51 35 50 50
Reference
-
How to send to user request to reload page or redirect to another action
byMaxim Litnitskiy-
Re: How to send to user request to reload page or redirect to another action
byMaxim Litnitskiy -
Re: How to send to user request to reload page or redirect to another action
byNhomar Hernandez -
Re: How to send to user request to reload page or redirect to another action
bySuzanne Jean-Sébastien -
Re: How to send to user request to reload page or redirect to another action
byNhomar Hernandez -
Re: How to send to user request to reload page or redirect to another action
byMaxim Litnitskiy -
Re: How to send to user request to reload page or redirect to another action
byMaxim Litnitskiy -
Re: How to send to user request to reload page or redirect to another action
bySuzanne Jean-Sébastien -
Re: How to send to user request to reload page or redirect to another action
bySuzanne Jean-Sébastien -
Re: How to send to user request to reload page or redirect to another action
byMaxim Litnitskiy -
Re: How to send to user request to reload page or redirect to another action
bySuzanne Jean-Sébastien
-