Issue between endpoint_route_handler and database_cleanup

Abierto
#120 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
database

Línea de trabajo

The issue reports that the database_cleanup step drops the endpoint_route table because it is not declared as an Odoo model. Start by reading how the module declares its models and how database_cleanup decides which tables to remove, then check the maintainer's earlier change that introduced endpoint_route. Done means either a decision from the maintainers on whether endpoint_route should be protected, or a patch that keeps the table while hiding it from users. Agree the approach in the thread before coding.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

After a major Database migration, I decided to pass database_cleanup to remove fields and unnecessary models.

However, I found that the system deleted endpoint_route table because it is not defined as an odoo model

@simahawk as you did the change, there is a reason for not using Odoo tables? Can I make a change to include this table where users will not be able to access?

Lenguaje dominante
Python
Estrellas
49
Forks
124
Merge medio
4 d 13 h
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OCA/web-api

Todos los issues de OCA/web-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.