000d8eba12
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 |
||
---|---|---|
.. | ||
i18n | ||
security | ||
static | ||
tests | ||
views | ||
wizard | ||
__init__.py | ||
__openerp__.py | ||
mail_mail.py | ||
mail_message.py | ||
mail_thread.py | ||
portal.py | ||
portal_data.xml | ||
portal_demo.xml | ||
portal_view.xml |