diff options
| author | William Henrotin <whe@odoo.com> | 2018-02-15 13:45:08 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-05-28 14:43:06 +0200 |
| commit | c9735c75d61e6792ae32d64a35122dc4664f7cf4 (patch) | |
| tree | bd49015fe27ff94e40cfd5f4f95ede93fb02dbc3 /addons/website_forum_doc/models/forum_documentation_toc.py | |
| parent | d9c035ae428cb8f57e2bb570aa23c41d6ae00bd4 (diff) | |
[IMP] base: prevent to archive users linked to active partners.
An active user could not see messages in its inbox if his partner is
archived. With this commit, we cannot archiving a partner linked to an
active user anymore.
In the opposite way:
-if we deactivate a user, warning message is given saying the related
partner will stay active. A link to the related partner is also given
if we really need to archive it;
-if we activate a user, the related partner will be set as active;
This commit is linked to task ID 46158. Closes #24628.
Diffstat (limited to 'addons/website_forum_doc/models/forum_documentation_toc.py')
0 files changed, 0 insertions, 0 deletions
