Skip to content

[19.0][IMP] project_task_description_template: project templates and portal support - #1874

Open
ThiagoMForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-fp-1848
Open

ThiagoMForgeFlow wants to merge 3 commits into
OCA:19.0from
ForgeFlow:19.0-fp-1848

Conversation

@ThiagoMForgeFlow

@ThiagoMForgeFlow ThiagoMForgeFlow commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Forward Port of #1848

Depends on:

The portal tests of this module fail in 19.0 with AccessError on create_uid. This is a core bug: portal users cannot create tasks when any module adds a precomputed field to project.task (here project_task_pull_request_state and project_timeline).

#1877 is needed as well: once the core is fixed, project_task_default_user would fail next when a portal user creates a task.

@ForgeFlow

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, rebase now that Odoo PR is merged.

The template field was not stored since the module was created, so the
template used on a task was lost after saving it.
Templates can be linked to projects, so each project only proposes its own
templates and the ones without projects.
@ThiagoMForgeFlow

Copy link
Copy Markdown
Contributor Author

Please, rebase now that Odoo PR is merged.

Rebased. The CI will stay red until the oca-ci 19.0 images include odoo/odoo#301575 (merged after the last build); I'll re-run it once they're rebuilt.

Portal users can select the templates of their projects in the project sharing
views, and a project can require them to select one on every new task.

@LoisRForgeFlow LoisRForgeFlow left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[19.0] project: portal users cannot create tasks when a precomputed field is added to project.task

4 participants