diff options
| author | Jairo Llopis <Yajo@users.noreply.github.com> | 2016-12-19 17:26:31 +0100 |
|---|---|---|
| committer | Martin Trigaux <mart-e@users.noreply.github.com> | 2016-12-19 17:26:31 +0100 |
| commit | 000d8eba12bf082d5b18f6e4ec159d80d973b85d (patch) | |
| tree | b871a3f7b433f35a2cef1fe7da93e15f71700e9c /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 20ba16e7770ed2da8f7c19baafc8f380a5d995b1 (diff) | |
[FIX] portal: allow to delete res.partner
Do these steps:
1. Create a partner.
2. Grant him portal access through *Actions > Portal Access Management*.
3. Delete the created user.
4. Delete the partner.
You will get this error:
```
Odoo Warning - Validation Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Portal User Config - portal.wizard.user]
```
This happens because the wizard (which is a transient model) does not let the partner to be deleted.
With this patch, we avoid that bug.
Closes #12608
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
