Odoo Online¶
Odoo Online เสนอฐานข้อมูลส่วนตัวที่โฮสต์และจัดการโดย Odoo ฐานข้อมูล Odoo Online สามารถเข้าถึงได้โดยใช้เว็บเบราว์เซอร์ใดก็ได้และไม่ต้องติดตั้งแบบโลคัล สามารถใช้สำหรับการใช้งานจริงระยะยาวหรือเพื่อทดสอบ Odoo อย่างละเอียด รวมถึงการปรับแต่งที่ไม่ต้องใช้โค้ดที่กำหนดเอง
Tip
หากต้องการทดลองใช้ Odoo อย่างรวดเร็ว มี ฐานข้อมูลสาธิต ที่ใช้ร่วมกันสำหรับการทดสอบ ไม่ต้องลงทะเบียน อย่างไรก็ตาม แต่ละฐานข้อมูลจะใช้ได้เพียงไม่กี่ชั่วโมงเท่านั้น
Note
Odoo Online ไม่รองรับโมดูลที่กำหนดเองหรือโมดูลจาก Odoo Apps Store
ผู้จัดการฐานข้อมูล¶
เพื่อจัดการฐานข้อมูล Odoo Online ให้เปิด ตัวจัดการฐานข้อมูล และการเข้าสู่ระบบในฐานะผู้ดูแลระบบฐานข้อมูล
ชื่อโดเมน¶
กำหนดค่าชื่อโดเมนที่กำหนดเอง โดยเลือกฐานข้อมูลและคลิก ชื่อโดเมน
ซ่อน¶
ซ่อนฐานข้อมูลอย่างถาวรจากตัวจัดการฐานข้อมูลโดยเลือกฐานข้อมูลและคลิก Hide ในกล่องโต้ตอบ ให้คลิก Yes, I don't need it anymore
Note
สามารถเข้าถึงฐานข้อมูลที่ซ่อนอยู่ได้ผ่าน URL ของฐานข้อมูลนั้น
การจัดการ¶
เข้าถึงตัวเลือกการจัดการฐานข้อมูลอื่น ๆ ทั้งหมดได้โดยเลือกฐานข้อมูลและคลิก Manage
เปลี่ยนแผน¶
เปลี่ยน แผนราคา โดยคลิก Switch ภายใต้แผนที่ต้องการ
อัพเกรด¶
เริ่มต้น การอัปเกรดฐานข้อมูล โดยคลิก Upgrade
Note
ตัวเลือกนี้จะแสดงเฉพาะเมื่อมีการอัปเกรด
ตั้งชื่อใหม่¶
เปลี่ยนชื่อและเปลี่ยน URL ของฐานข้อมูลโดยคลิก Rename ในกล่องโต้ตอบ ให้ป้อน New name และคลิก Rename
คัดลอก¶
สร้างสำเนาของฐานข้อมูลโดยคลิก Duplicate ในกล่องโต้ตอบ ให้ป้อน New name และคลิก Duplicate
Important
ตามค่าเริ่มต้น ตัวเลือก For testing purposes จะถูกเปิดใช้งาน ซึ่งจะปิดการใช้งานการดำเนินการภายนอกทั้งหมด (อีเมล การชำระเงิน ใบสั่งจัดส่ง ฯลฯ) บนฐานข้อมูลที่ทำสำเนา
ฐานข้อมูลที่ทำสำเนาจะหมดอายุหลังจาก 15 วัน
สามารถสร้างฐานข้อมูลที่ทำสำเนาได้สูงสุดห้าฐานต่อฐานข้อมูลหนึ่งฐาน ในกรณีพิเศษ ติดต่อ ฝ่ายสนับสนุน Odoo เพื่อขยายขีดจำกัด
ดาวน์โหลดข้อมูลสำรอง¶
ดาวน์โหลดไฟล์ ZIP ที่มีข้อมูลสำรองฐานข้อมูลโดยคลิก Download Backup
Note
ฐานข้อมูลได้รับการสำรองทุกวันตาม Odoo Cloud Hosting SLA
หากตัวเลือก Download Backup ถูกปิดใช้งาน แสดงว่าฐานข้อมูลมีขนาดใหญ่เกินกว่าที่จะดาวน์โหลดโดยใช้ตัวจัดการฐานข้อมูล ติดต่อ ฝ่ายสนับสนุน Odoo เพื่อขอวิธีดาวน์โหลดทางเลือก
ดูบันทึกกิจกรรมผู้ดูแลระบบ¶
ดูบันทึกการดำเนินการทั้งหมดที่ดำเนินการโดยพนักงาน Odoo หรือผู้ดูแลระบบฐานข้อมูลบนฐานข้อมูลโดยคลิก View Admin Activity Logs
Note
การดำเนินการโดยพนักงาน Odoo โดยทั่วไปเป็นผลมาจากคำขอที่ส่งไปยังฝ่ายสนับสนุน Odoo ดำเนินการภายในบริบทของโครงการเริ่มต้นอย่างรวดเร็ว หรือจำเป็นเพื่อบำรุงรักษาฐานข้อมูล
โอนความเป็นเจ้าของ¶
สร้างตั๋วสนับสนุนเพื่อขอการโอนความเป็นเจ้าของฐานข้อมูลโดยคลิก Transfer Ownership
ลบ¶
ลบฐานข้อมูลและปิดการสมัครสมาชิกที่เกี่ยวข้องโดยคลิก Delete ในกล่องโต้ตอบ ให้คลิก Delete
Danger
ข้อมูลทั้งหมดของฐานข้อมูลจะถูกลบทันทีสำหรับผู้ใช้ทั้งหมดและ ไม่สามารถกู้คืนได้ แนะนำให้ ดาวน์โหลดข้อมูลสำรอง ก่อนลบฐานข้อมูล
Note
หลังจากลบแล้ว ชื่อของฐานข้อมูลจะพร้อมให้ทุกคนใช้ได้
บริการบนเว็บ¶
Databases list¶
To retrieve a list of all databases displayed under the database manager programmatically, call the list method of the odoo.database model
via the external JSON-2 API.
import requests
API_KEY = "your_api_key"
response = requests.post(
"https://www.odoo.com/json/2/odoo.database/list",
headers={
"Authorization": f"bearer {API_KEY}",
},
json={},
)
response.raise_for_status()
databases = response.json()
curl -X POST \
'https://www.odoo.com/json/2/odoo.database/list' \
-H 'Authorization: bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{}'
Audit logs¶
To retrieve the admin activity logs of an Odoo Online database, call the get_audit_logs method of the
odoo.database model via the external JSON-2 API.
The request must provide either db_uuid or subscription_code. If db_uuid is provided, the logs for
that database are returned. Otherwise, subscription_code can be used to retrieve logs for all databases
and projects belonging to the subscription.
The optional cursor is an opaque value returned by a previous request. When provided, only logs more
recent than the cursor are returned.
Audit log retrieval is subject to rate limits and must not be performed more than once every 5 minutes.
import requests
API_KEY = "your_api_key"
response = requests.post(
"https://www.odoo.com/json/2/odoo.database/get_audit_logs",
headers={"Authorization": f"bearer {API_KEY}"},
json={"db_uuid": "<DB_UUID>"},
)
response.raise_for_status()
result = response.json()
curl -X POST \
'https://www.odoo.com/json/2/odoo.database/get_audit_logs' \
-H 'Authorization: bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{"db_uuid": "<DB_UUID>"}'
The response is a JSON object containing the logs and an opaque cursor for retrieving the next batch:
{
"logs": [
{
"date": "2026-09-04 12:13:14",
"user": "John Doe [Odoo: Foo]",
"database": "my-database",
"subscription": "sub-code",
"ip": "1.2.3.4",
"action": "Connect as",
"details": "Connected as Admin",
"authorized": true
}
],
"next_cursor": "opaque-cursor-value"
}
The request parameters are:
db_uuid(string): the UUID of the database. If provided,subscription_codeis ignored.subscription_code(string): the subscription code. Used whendb_uuidis not provided.cursor(string): an opaque cursor returned by a previous request. When provided, only logs more recent than the cursor are returned.
Each log entry contains:
date(string): the log date and time in UTC.user(string): the user who performed the actiondatabase(string): the database concerned by the action, when applicable.subscription(string): the subscription code.ip(string): the IP address from which the action was performed.action(string): the type of action.details(string): ข้อมูลเพิ่มเติมเกี่ยวกับการดำเนินการauthorized(boolean): ระบุว่าการดำเนินการได้รับอนุญาตหรือไม่
ค่า next_cursor เป็นเคอร์เซอร์แบบทึบที่สามารถระบุเป็น cursor ในคำขอครั้งถัดไปได้