diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-07-19 11:43:59 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-07-19 11:48:30 +0000 |
| commit | f13a6e5b6a539ec428b8f1cae7ceb465fc7db04e (patch) | |
| tree | 497936fee0546767bb60b8c47f994ad7618cdfe6 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 20eca78cb9afd6288f5900d4833dc83cbe4fa811 (diff) | |
[FIX] account: do not propagate context to new action
Let's assume the following scenario:
- open a pos session, sell a product, leave the session and close
it
- on the session form view, validate it and open the
account.bank.statement
- in the dialog, click on the "Journal Entries" stat button
A traceback is raised, because context keys specific to the current
action (e.g. *_view_ref) are propagated to new action.
The python method should only put new keys in the context, and the
JS framework combines them with the current context, from which
action specific keys are filtered out.
Closes #34893
Issue 2034970
closes odoo/odoo#34970
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
