Skip to content

[16.0][FIX] project_task_project_required: do not delete project_id field default attrs in view_task_form2 view#1726

Open
Tisho99 wants to merge 1 commit into
OCA:16.0from
sygel-technology:16.0-fix-project_task_project_required
Open

[16.0][FIX] project_task_project_required: do not delete project_id field default attrs in view_task_form2 view#1726
Tisho99 wants to merge 1 commit into
OCA:16.0from
sygel-technology:16.0-fix-project_task_project_required

Conversation

@Tisho99
Copy link
Copy Markdown
Contributor

@Tisho99 Tisho99 commented May 12, 2026

This PR fixes a minor issue in this module.

The modified view overrides the attributes of the following field, removing the invisible attribute and causing the field to be duplicated in some cases.

This change still overrides the attributes, but now preserves the existing ones.

I also considered fixing this by using the add, remove, and separator attributes of the attribute tag to avoid overriding the attrs dictionary. However, matching dictionaries with that approach causes some issues.

@OCA-git-bot OCA-git-bot added mod:project_task_project_required Module project_task_project_required series:16.0 labels May 12, 2026
@Tisho99 Tisho99 changed the title [FIX] project_task_project_required: do not delete project_id field default attrs in view_task_form2 view [16.0][FIX] project_task_project_required: do not delete project_id field default attrs in view_task_form2 view May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:project_task_project_required Module project_task_project_required series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants