odoo/addons/portal/wizard
Jairo Llopis 000d8eba12 [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
2016-12-19 17:26:31 +01:00
..
__init__.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
portal_wizard.py [FIX] portal: allow to delete res.partner 2016-12-19 17:26:31 +01:00
portal_wizard_view.xml Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
share_wizard.py [MERGE] forward port of branch 7.0 up to 3e7d3c7 2015-04-27 12:19:43 +02:00
share_wizard_view.xml [IMP] portal: remove groups Portal Officer and Portal Manager 2012-09-14 15:21:13 +02:00