Issue between endpoint_route_handler and database_cleanup

Aperta
#120 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
49
Fork
124
Merge medio
4g 13h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/web-api

Tutte le issue di OCA/web-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.