diff options
| author | Olivier Dony <odo@openerp.com> | 2013-05-07 18:51:13 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-05-07 18:51:13 +0200 |
| commit | 325f710360256bcd413069534f5e6ca391706a04 (patch) | |
| tree | 552f377118c6680bd1154e92d752cf35817e46b6 /addons/plugin/plugin_handler.py | |
| parent | 54ad990e4826734ec30b3a191977a350ff1fad75 (diff) | |
[FIX] account: split the actions to open analytic accounts, as context is not compatible
The same action was erroneously used in two incompatible
cases: once for openining the list of analytic accounts
from a partner form view (requires a special context
with a client-side `active_id` variable) and the second
one for the main Analytic Account menu item (which
cannot have `active_id` in the context - it would crash).
The fix includes setting an empty ({}) context explicitly
on the original action to be sure the incorrect context
is removed upon update.
The error was introduced at rev.8685
revid:qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b
bzr revid: odo@openerp.com-20130507165113-67lam91046t56ky8
Diffstat (limited to 'addons/plugin/plugin_handler.py')
0 files changed, 0 insertions, 0 deletions
