Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
Los índices y el incremento de versión son coherentes con el objetivo y no presentan problemas pendientes.
Review effort: Balanced
Findings: None
What changed in this PR
Agrega índices parciales para optimizar búsquedas y agrupaciones de tareas.
Cambios:
- Indexa
partner_idyrecurrence_idconbtree_not_null. - Incrementa la versión de
project_uxa18.0.1.2.0.
| File | Description |
|---|---|
project_ux/models/project_task.py |
Declara los índices sobre ambos campos. |
project_ux/__manifest__.py |
Actualiza la versión del módulo. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Backport from 19.0, where both fields already use index="btree_not_null". Without these indexes, searching or grouping tasks by customer is slow on databases with many tasks.
ced-adhoc
force-pushed
the
18.0-t-72145-ced
branch
from
October 2, 2026 20:09
8275608 to
796749a
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Tarea: https://www.adhoc.inc/odoo/project.task/72145
Backport de 19.0:
index="btree_not_null"enpartner_idyrecurrence_iddeproject.task, como en el core de 19.0.Validación local: instalado desde
18.0sin índices; con-uen esta rama se creanproject_task__partner_id_indexyproject_task__recurrence_id_index.Al mergear:
bumpyfw=disabled(en 19.0 el core ya los trae).