diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-04-26 21:06:18 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2017-04-27 09:24:59 +0200 |
| commit | 51e9aba2cb4c9006ca9906562d6b0057cc1f1e85 (patch) | |
| tree | 8468834be3b891f4c471f499bc351bf2a534571b /doc/python3.rst | |
| parent | d20074c555bf3b25155264d09ced81997eb632ff (diff) | |
[FIX] web: do_action should properly resolves when complete
We changed the do_action method recently: before, it was calling
recursively its parent, now it simply triggers up an event. We also
moved it to the 'services' mixin. However, we did not properly connect
the 'on_success' option: it is not an option for the view manager, but
for the abstract web client. As such, it should not be in the options
parameter, but it should simply be a key in the event payload.
This commit was found by solving the two following issues:
- open sale application, click on 'Inbox' icon to go to discuss,
Discuss is opened, but the navbar stays with sales application
- after installing module website_crm_partner_assign in kanban view for apps,
it does not reload...
Both of these were caused by the need to do something after a do_action,
and the deferred was not resolved at all.
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
