Bảo trì — Preventive Maintenance
Bảo trì — Preventive Maintenance
Phần tiêu đề “Bảo trì — Preventive Maintenance”Bảo dưỡng định kỳ theo lịch cố định — vd 3 tháng/lần thay dầu máy phát, 6 tháng/lần vệ sinh HVAC.
Nguyên tắc
Phần tiêu đề “Nguyên tắc”- Setup lịch: mỗi equipment có 1+
maintenance schedule - Cron auto tạo Maintenance Request khi đến hạn
- Kỹ thuật viên nhận + thực hiện
- Mark done → next schedule cron tiếp theo
Setup schedule cho equipment
Phần tiêu đề “Setup schedule cho equipment”1. Mở equipment
Phần tiêu đề “1. Mở equipment”Bảo trì → Thiết bị → chọn máy phát điện
2. Tab “Bảo trì định kỳ”
Phần tiêu đề “2. Tab “Bảo trì định kỳ””Click Add schedule.
3. Điền
Phần tiêu đề “3. Điền”| Field | Vd |
|---|---|
| Name | Thay dầu máy phát định kỳ |
| Type | Preventive |
| Frequency | Mỗi 3 tháng (dropdown) |
| Duration | 4 giờ |
| Assigned team | Maintenance Team A |
| Assigned to | Nguyễn Văn Kỹ |
| Priority | Normal |
| Description | ”Thay dầu 20W-50, filter, verify oil pressure” |
| Last done | 1/5/2026 (last time) |
| Next due | 1/8/2026 (auto compute) |
4. Save
Phần tiêu đề “4. Save”Schedule active. Cron sẽ tạo Request khi đến next_due.
Cron tạo Maintenance Request
Phần tiêu đề “Cron tạo Maintenance Request”Cron daily 06:00:
- Scan all schedules with
next_due ≤ today + 7 - Tạo Maintenance Request mỗi schedule đến hạn
- Assign to person/team defined trong schedule
- Send notification via email + activity
Kỹ thuật thấy request trong list Bảo trì → Yêu cầu → Mở.
Kỹ thuật thực hiện
Phần tiêu đề “Kỹ thuật thực hiện”1. Nhận notification
Phần tiêu đề “1. Nhận notification”Email hoặc activity trong Odoo.
2. Mở request
Phần tiêu đề “2. Mở request”Bảo trì → Yêu cầu của tôi → click
3. State transitions
Phần tiêu đề “3. State transitions”new→in_progress(khi bắt đầu)- Note thời gian bắt đầu
4. Thực hiện
Phần tiêu đề “4. Thực hiện”Onsite work — thay dầu, vệ sinh, kiểm tra…
5. Update
Phần tiêu đề “5. Update”- Ghi chú work done
- Attach ảnh trước/sau
- List parts replaced (nếu có)
- Cost incurred (nếu có)
6. Mark done
Phần tiêu đề “6. Mark done”- State
in_progress→done date_completedauto-fill- Schedule
last_doneupdate →next_dueauto compute cho lần sau
Calendar view
Phần tiêu đề “Calendar view”Bảo trì → Yêu cầu → View mode Calendar:
- Xem lịch bảo dưỡng theo tuần / tháng
- Drag-drop reschedule (nếu deadline flexible)
- Color-coded theo priority
Useful cho Maintenance manager plan workload team.
Overdue tracking
Phần tiêu đề “Overdue tracking”Request next_due < today and state != done → overdue.
- Highlight đỏ trong list
- Cron gửi activity to manager
- Dashboard show count overdue
Nếu overdue lớn → equipment risk failure → prioritize.
Bulk schedule cho new equipment
Phần tiêu đề “Bulk schedule cho new equipment”Sau khi bulk import equipments, apply schedules bulk:
- Menu Bảo trì → Templates → Preventive Schedule Templates
- Tạo template “Máy phát điện standard” với:
- 3 tháng: thay dầu
- 6 tháng: kiểm tra tổng thể
- 12 tháng: thay lọc gió + spark plug
- Menu Action → Apply template to equipments
- Chọn equipments (filter category = máy phát điện)
- Apply → schedules created bulk
Cost tracking
Phần tiêu đề “Cost tracking”Mỗi maintenance request có cost:
- Nhân công: giờ × rate
- Vật tư: parts replaced
- Outside contractor: nếu thuê ngoài
Sum theo equipment / KCN cho báo cáo.
Predictive vs Preventive
Phần tiêu đề “Predictive vs Preventive”- Preventive: theo lịch cố định — “3 tháng thay dầu bất kể xài nhiều/ít”
- Predictive: theo data thực — “thay dầu khi meter chạy > 250 giờ” (xem Predictive)
Predictive tiết kiệm hơn nhưng cần meter data đầy đủ.
Best practices
Phần tiêu đề “Best practices”Kỹ thuật đi vắng — reschedule dễ không?
Phần tiêu đề “Kỹ thuật đi vắng — reschedule dễ không?”Có. Mở request → sửa schedule_date → save. Cron không tạo mới nữa cho lần này (đã có request).
Multiple schedules cho 1 equipment
Phần tiêu đề “Multiple schedules cho 1 equipment”OK. Máy phát điện có:
- Schedule A: thay dầu 3 tháng
- Schedule B: kiểm tra tổng thể 6 tháng
- Schedule C: overhaul 5 năm
Cron independently tạo request cho từng schedule.
Muốn skip 1 kỳ (equipment tạm không cần)
Phần tiêu đề “Muốn skip 1 kỳ (equipment tạm không cần)”- Sửa
next_due→ future date - Hoặc tắt schedule tạm (
active = False) - Nhớ enable lại