Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
362 Lượt xem

I did some testing on my Odoo Online database that I now want to erase before starting the real work. According to support, this is impossible. But it's a nightmare — I initially did tests on my paid database without realizing it, and now there's no way to roll back or clean the database before beginning the actual work. Can someone help me?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

This really helped, but I am stuck on technique part->Models can find from where to get records of a model?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

Try mass deletion,

  1. Enable developer mode (Settings → General Settings → Developer Tools → Activate developer mode)
  2. Navigate to each module where you have test data
  3. Use list view with filters to select all test records
  4. Delete them in batches

For more systematic cleaning,

  • Go to Technical → Database Structure → Models
  • Find relevant models and delete their records
  • Be careful with records that have dependencies

Hope this helps.

Ảnh đại diện
Huỷ bỏ