[17.0] hr: missing migration for some fields

Đang mở
#5,149 1 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 3 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, database

Hướng nghiên cứu

The payload names only four hr boolean fields (hr_presence_control_login, _email, _ip, _attendance) and says their values must be filled from ir.config.parameter. Start with existing hr migration scripts for the 17.0 branch to see how this repo copies field values into config parameters. Done means a migration script that sets each parameter from the old field values, and you can confirm it by running the upgrade on a database that has these fields set.

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

Mô tả

bug stale

hr_presence_control_login = fields.Boolean(string="Based on user status in system", default=True)
hr_presence_control_email = fields.Boolean(string="Based on number of emails sent")
hr_presence_control_ip = fields.Boolean(string="Based on IP Address")
hr_presence_control_attendance = fields.Boolean(string="Based on attendances")

need to fill using ir.config.parameter

Ngôn ngữ chính
Python
Star
995
Fork
837
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
12

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/OpenUpgrade

Tất cả issue của OCA/OpenUpgrade

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.