Bỏ qua để đến nội dung

Bảo trì — Equipment Registry

Registry mọi thiết bị hạ tầng KCN — cơ sở cho các module Warranty, Preventive Maintenance, Predictive.

Model: maintenance.equipment (Odoo standard) + Parkone extensions.

Bảo trì → Thiết bị

  • Máy phát điện (500 kVA, 1000 kVA, …)
  • Trạm biến áp
  • Tủ phân phối điện
  • UPS
  • Điều hoà trung tâm
  • Quạt thông gió
  • Hệ thống lạnh kho
  • Bơm nước
  • Bể chứa
  • Đường ống chính
  • Hệ thống báo cháy
  • Máy bơm PCCC
  • Bình cứu hoả (batch equipment)
  • Server / router
  • Camera an ninh
  • Access control
  • Cổng barrier
  • Đèn đường
  • Cây xanh trồng (nếu track maintenance)
FieldVd
Tên thiết bịMáy phát điện 500 kVA - Trạm 1
LoạiElectric
CategoryMáy phát điện
KCN (x_zone_project_id)KCN Tân Hoà
Vị tríTrạm điện trung tâm
Vị trí GPS (x/y)45, 32 (trong site plan)
Nhà sản xuấtCaterpillar
ModelCAT-3406
Serial numberSN-2023-001
Ngày lắp đặt1/1/2024
Hạn warranty1/1/2027
Cost800,000,000 VND
Warranty state✅ (computed)

Equipment record tạo → có thể assign vào Lô đất / Kho / Warehouse tương ứng.

Trong bản đồ KCN, equipment hiện dưới dạng marker (task #17):

  1. Khu công nghiệp → chọn KCN → tab “Sơ đồ mặt bằng”
  2. Click nút “⚙️ Place equipment”
  3. Click trên bản đồ tại vị trí thiết bị
  4. Chọn equipment từ dropdown → save
  5. Marker xuất hiện trên map

Click marker → tooltip show info + link đến form equipment.

Field x_warranty_state compute theo warranty_end_date:

ValueRange
ok> 90 days trước hết hạn
expiring< 90 days (cảnh báo)
expiredĐã hết hạn

Cấu hình lead time trong Company settings — default 90 ngày. Xem Cấu hình → Warranty Alert.

Chi tiết: Warranty tracking.

50+ equipments — import qua Excel:

  1. Bảo trì → Thiết bị → menu ⚙️ → Import
  2. Download template Excel
  3. Fill data:
    • name, category, serial_number, manufacturer, model, x_zone_project_id, installation_date, warranty_end_date, cost, …
  4. Upload → preview → confirm import

Equipment form → tab Maintenance history:

  • List maintenance.request linked
  • Sort by date descending
  • Filter: preventive / corrective / calibration

Time-to-failure metric: gap giữa các maintenance requests → indicator độ tin cậy.

Equipment có cost → có thể apply depreciation:

  • Cấu hình → Kế toán → Asset Categories
  • Tạo category “Máy móc thiết bị 5-10 năm”
  • Depreciation method: Straight line 10 năm
  • Assign vào equipment → tự sinh depreciation entries hàng năm

Vd bình cứu hoả — 50 cái giống nhau:

  • Option A: tạo 50 records (nếu cần track serial riêng)
  • Option B: 1 record với quantity = 50 (batch, dùng cho consumables)

Batch không track serial → thiếu granular. Recommended: individual record.

  • Field x_zone_project_id chưa fill
  • Verify group access Maintenance user + Parkone user

Vd: Trạm biến áp có 3 máy biến áp con.

  • Field parent_id on maintenance.equipment
  • Parent = Trạm, Children = 3 máy
  • Hierarchical view: click parent → expand children
  • Chỉ delete được nếu không có maintenance history + not linked asset
  • Recommended: Archive (set active = False) thay vì Delete
Chia sẻ: