Issue between endpoint_route_handler and database_cleanup

Đang mở
#120 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
database

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Python
Star
49
Fork
124
Merge trung bình
4 ngày 13 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OCA/web-api

Tất cả issue của OCA/web-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.