odoo/addons/portal
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
..
i18n [I18N] Update translation terms from Transifex 2016-12-11 02:58:13 +01:00
security Update ir.model.access.csv 2014-07-03 09:54:53 +02:00
static [IMP] Custom the payment_acquirer html field in css of its own module and not in web/base.saas 2014-03-05 17:16:47 +01:00
tests [IMP] minor perf improvement during tests 2015-06-26 14:22:29 +02:00
views [IMP] bundlify addons (except website) 2014-04-24 19:21:29 +02:00
wizard [FIX] portal: allow to delete res.partner 2016-12-19 17:26:31 +01:00
__init__.py [REF] portal, portal_sale, payment: refactored old acquirer in portal 2014-01-22 20:00:22 +01:00
__openerp__.py [fix] portal: typo in description 2014-11-17 11:31:27 +01:00
mail_mail.py [IMP] mail: various cleaning and fixes in the notification email links (wording, missing document name management) 2014-08-29 13:22:51 +02:00
mail_message.py [FIX] Remove test from saas-3 - Tech Saas & AL agreement 2014-03-12 13:57:57 +01:00
mail_thread.py [CLEAN] portal/mail_thread: cleaned a bit new code, using is_portal. 2013-05-22 13:55:49 +02:00
portal.py [REF] *: share field is now a computed field, if the user is in the employee group or not 2014-03-24 15:35:58 +01:00
portal_data.xml [FIX] portal: typos in portal wall actions. 2014-06-12 17:35:41 +02:00
portal_demo.xml [MERGE][IMP] Enable HTML in emails signature 2014-06-27 11:31:24 +02:00
portal_view.xml [FIX] [IMP] mail: fixed mail sent to users being redirected to their partner profile 2014-08-28 12:53:34 +02:00