Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 5, 2025

Problem:
When a portal user edits a task's description and adds a checklist, the checkboxes do not appear as they do in the Odoo backend (e.g., in the To-Do app).

This occurs because the editor is rendered in an iframe with only html_editor loaded, while checklist styles are in web_editor.

Solution:
Add checklist styles to html_editor.

Steps to Reproduce:

  1. Share a project with "Edit" permission for a portal user.
  2. Log in as the portal user.
  3. Go to any task inside the project.
  4. In the description, add a checklist using /checklist command.
    • Issue: No checkboxes appear.

opw-4481993


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #200309

**Problem**:
When a portal user edits a task's description and adds a checklist,
the checkboxes do not appear as they do in the Odoo backend (e.g.,
in the To-Do app).

This occurs because the editor is rendered in an `iframe` with only
`html_editor` loaded, while checklist styles are in `web_editor`.

**Solution**:
Add checklist styles to `html_editor`.

**Steps to Reproduce**:
1. Share a project with **"Edit"** permission for a portal user.
2. Log in as the portal user.
3. Go to any task inside the project.
4. In the description, add a checklist using `/checklist` command.
   - **Issue**: No checkboxes appear.

opw-4481993

X-original-commit: ec6d26f
**Problem**:
When a portal user edits a task's description, focusing on the
editable shows an outline.

This occurs because the editor is rendered in an `iframe` with only
`html_editor` loaded, while styles are in `web_editor`.

**Solution**:
Add `contenteditable` styles to `html_editor`.

**Steps to Reproduce**:
1. Share a project with **"Edit"** permission for a portal user.
2. Log in as the portal user.
3. Go to any task inside the project.
   - **Issue**: Editable has black border on hover.

opw-4481993

X-original-commit: 559f8d8
@robodoo
Copy link
Contributor

robodoo commented Mar 5, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 5, 2025

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 5, 2025
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Mar 5, 2025
@walidsahli
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Mar 6, 2025
**Problem**:
When a portal user edits a task's description and adds a checklist,
the checkboxes do not appear as they do in the Odoo backend (e.g.,
in the To-Do app).

This occurs because the editor is rendered in an `iframe` with only
`html_editor` loaded, while checklist styles are in `web_editor`.

**Solution**:
Add checklist styles to `html_editor`.

**Steps to Reproduce**:
1. Share a project with **"Edit"** permission for a portal user.
2. Log in as the portal user.
3. Go to any task inside the project.
4. In the description, add a checklist using `/checklist` command.
   - **Issue**: No checkboxes appear.

opw-4481993

X-original-commit: ec6d26f
Part-of: #200477
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Walid Sahli (wasa) <wasa@odoo.com>
robodoo pushed a commit that referenced this pull request Mar 6, 2025
**Problem**:
When a portal user edits a task's description, focusing on the
editable shows an outline.

This occurs because the editor is rendered in an `iframe` with only
`html_editor` loaded, while styles are in `web_editor`.

**Solution**:
Add `contenteditable` styles to `html_editor`.

**Steps to Reproduce**:
1. Share a project with **"Edit"** permission for a portal user.
2. Log in as the portal user.
3. Go to any task inside the project.
   - **Issue**: Editable has black border on hover.

opw-4481993

closes #200477

X-original-commit: 559f8d8
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Signed-off-by: Walid Sahli (wasa) <wasa@odoo.com>
@robodoo robodoo added the 18.3 label Mar 6, 2025
@robodoo robodoo closed this Mar 6, 2025
@xmo-odoo xmo-odoo deleted the master-18.0-opw-4481993-add_missing_css_in_html_editor-wasa-420747-fw branch March 7, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

18.3 forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants