Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
6699 Переглядів

I wanted to remove the default customers and partners that came with installing the apps in openerp when you load demonstration data. I went to res.partner field in pgAdmin III, view data, all rows, copied the first two rows, which rows are for company data and admin data, deleted all rows in the table through truncate cascaded command, and then attempted pasted the copied two rows in clipboard back into the table. Only one row could copy and that for the company data. That means i lost admin login and all other logins for the database. Can anyone help me out? Please, newbie to pgAdmin and openerp. thanks

Аватар
Відмінити
Найкраща відповідь

I think that you have to create a new database with no demonstration data. That's the best way. If you have data on the other database then do the same, create a new database and copy the rows that you need to the old database.

NEVER EVER touch the database with pgAdmin if you don't know what you are doing. There are loads of relations between tables that can be affected.

Аватар
Відмінити
Найкраща відповідь

I think you would rather re-create the database from scratch, creating a new database is faster than rebuilding everything you deleted.

Or you can restore the backup

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
жовт. 23
5996
3
вер. 23
2854
0
трав. 23
2845
1
трав. 23
2229
1
квіт. 23
2012