Odoo Upgrade Service

คู่มือและขั้นตอนการอัปเกรดเวอร์ชัน Odoo (Major Version Upgrade)

🇹🇭 ภาษาไทย

ตัวเลือกการอัปเกรด

  1. Command Line (แนะนำ): รันคำสั่งผ่าน Python script (curl -s https://upgrade.odoo.com/upgrade) มีข้อดีคือรวดเร็ว เห็น Log แบบ Real-time และสามารถ Resume ได้หากการเชื่อมต่อหลุด
  2. Upload Form: การส่ง Database Dump ผ่านหน้าเว็บ เหมาะสำหรับผู้ที่ไม่ถนัด CLI
  3. Odoo.SH Upgrade Tool: มีแท็บ Upgrade เฉพาะบน Odoo.sh ช่วยให้การทดสอบบน Staging branch ทำได้อัตโนมัติ

ขั้นตอนมาตรฐาน

  • Testing Stage: ทำการอัปเกรดในโหมด “Test” ก่อนเสมอ เพื่อตรวจสอบความถูกต้องของ Workflow และ Custom modules
  • Production Stage: เมื่อทดสอบผ่านแล้ว จึงทำการอัปเกรดจริง (Production) ภายใน 3 วันหลังจากจบขั้นตอนทดสอบ

🇬🇧 English

Upgrade Paths

  • CLI Method: The fastest and most robust method using the upgrade.odoo.com script. It supports parallelization and resume-ability.
  • Web Form: Manual upload of DB dumps to the upgrade platform.
  • Odoo.SH Tool: Integrated workflow for Odoo.sh users, automating backup-restore-upgrade cycles.

Best Practices

  • Always Test First: Perform a “Test” upgrade and verify all business processes before touching the production database.
  • Timely Migration: Production upgrades should follow successful tests within a 72-hour window to minimize data drift.