odoo/addons/web/static
Denis Ledoux a37bad205b [FIX] web: on launching ir_actions_act_window, reset the active_* params if the target is current
This commit is related to 8d49639933 and b88755c431
When hitting buttons of type object, the active_model and active_id(s) were kept, and, therefore, when calling a feature using the active* args, this feature used the active* args from the previous action.
Nevertheless, concerning wizards, the active* args should be indeed the active* args of the previous action, as wizards expects to have the active* args from the previous action. Thus, we reset these active* args only when this is not a wizard (target === 'current')
For example, from a sales order, hit the 'view invoice' button, and on the invoice, hit the 'send by email' button: The active_id in the send by email wizard were the id of the sale order, not of the invoice
2014-05-26 17:05:02 +02:00
..
lib [MERGE] forward port of branch saas-3 up to revid 3975 chs@openerp.com-20140318115516-sn3laxqseam1oz3f 2014-03-18 13:40:50 +01:00
src [FIX] web: on launching ir_actions_act_window, reset the active_* params if the target is current 2014-05-26 17:05:02 +02:00
test [MERGE] forward port of branch saas-3 up to revid 3995 chs@openerp.com-20140407144625-jfimvsx4mgrkztqv 2014-04-07 18:17:28 +02:00