diff options
| author | Simon Lejeune <sle@openerp.com> | 2016-09-02 14:12:24 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2016-09-02 15:31:40 +0200 |
| commit | a13c15fd442bbfc5c283f71c8d349e33bc70cf6a (patch) | |
| tree | 03253b24bcd15a20e4ae5a8a56d6654d0e543da2 /addons/subscription | |
| parent | 8a4635a4e209db45162dacb3f4ec174ec786789a (diff) | |
[FIX] crm: merge partner wizard, traceback on close
In the merge partner wizard, there's a button in the footer which
trigger the method `action_close`. This method is decorated by
an api.multi and begins with an ensure_one() and if you click
on close directly after opening the wizard, self.ensure_one
fails.
The thing is, `action_close` only return an ir.action.act_window_close
action and there's a special attribue you can set in the form
view button to make it return an ir.action.act_window_close directly.
If we use this technique, then there's no traceback anymore. So this
is the fix.
Diffstat (limited to 'addons/subscription')
0 files changed, 0 insertions, 0 deletions
