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

I'm sure there has got to be a way to do this - In setting a new server (OpenERP 7), in the process of configuring everything just right and making sure it's right, I have created nearly 100 test accounts and countless transactions.

When everything is perfect and it's time to deploy, how do I wipe out all these accounts and journal entries and get a clean slate - without wiping the database and losing all of the customization I've done? I don't see any obvious way

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

See this similar question: Erase or clear all accounting data from openerp.  In short, there's no silver bullet.  There's the dangerous route of manually truncating tables in postgresql, or the safer method of exporting your core data and re-importing to a clean database.

Any customizations should really be done in new modules, which can be installed on any database quickly and easily.  It also makes maintenance in production much simpler, and allows for easy setup of test environments (which you should have!).

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5572
0
thg 3 15
3732
Delete Blank Lines Đã xử lý
1
thg 8 24
1690
1
thg 11 23
4197
1
thg 1 23
3992