diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-01-31 13:11:18 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-02-02 11:04:31 +0100 |
| commit | 76665df0cfc765483c8d2856ad9579e9d7b6b58d (patch) | |
| tree | 8c8d13bb05df5ab46c5150654563376dcd70fc35 /odoo/cli/shell.py | |
| parent | 2014fabfbaf2e24a047881deb404844a81c7bbc1 (diff) | |
[FIX] website_forum: allow portal users to post replies to replies
Before this commit, when connected as a portal user, the user was not
able to post replies to existing replies. This is because the textarea
section was marked to be displayed for connected internal users only.
This commit removes the whole group restriction. Indeed, it makes sense
(as a fix), to show the textarea section for public users too. Indeed,
the "Reply" button is already shown to public users but does not do
anything. With this commit, clicking the "Reply" button shows the
textarea section for everybody and, if the user is not connected,
redirects to the login page when posting the message. This of course
needs usability improvements in master.
Note: the problem had originally been fixed for regular answers with
commit https://github.com/odoo/odoo/commit/b81b03c82d282dc94595a9beb94444041509ef25
Note 2: both mentioned problems were originally introduced by commit
https://github.com/odoo/odoo/commit/9069d0127c176317436b67b23ae5677dd9d53de7
Closes https://github.com/odoo/odoo/issues/22648
Diffstat (limited to 'odoo/cli/shell.py')
0 files changed, 0 insertions, 0 deletions
