Skip to content

[IMP] project_ux: index partner_id and recurrence_id on tasks - #149

Open
ced-adhoc wants to merge 1 commit into
ingadhoc:18.0from
adhoc-dev:18.0-t-72145-ced
Open

ced-adhoc wants to merge 1 commit into
ingadhoc:18.0from
adhoc-dev:18.0-t-72145-ced

Conversation

@ced-adhoc

@ced-adhoc ced-adhoc commented Oct 1, 2026 •

Copy link
Copy Markdown

Tarea: https://www.adhoc.inc/odoo/project.task/72145

Backport de 19.0: index="btree_not_null" en partner_id y recurrence_id de project.task, como en el core de 19.0.

Validación local: instalado desde 18.0 sin índices; con -u en esta rama se crean project_task__partner_id_index y project_task__recurrence_id_index.

Al mergear: bump y fw=disabled (en 19.0 el core ya los trae).

Copilot AI balanced review requested due to automatic review settings October 1, 2026 18:15
@roboadhoc

Copy link
Copy Markdown
Contributor

Pull request status dashboard

Copilot AI 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.

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_id y recurrence_id con btree_not_null.
  • Incrementa la versión de project_ux a 18.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 ced-adhoc changed the title [WIP] [IMP] project_ux: index partner_id and recurrence_id on tasks [IMP] project_ux: index partner_id and recurrence_id on tasks Oct 2, 2026

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants