Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
7296 Представления

I am new to Odoo & have been playing a lot with our staging environment database via the V8 API. (Adding leads, creating customers, delete events). I now have a better grasp on the structure, and I want to restart in my sandbox environment.

Is there an easy way to reset my staging server's database? My current plan was to use the API's unlink() method to destroy all records.. But I am assuming there will be some left over associations that wont be destroyed by the deletion of the object.


Аватар
Отменить
Автор Лучший ответ

Turns out I did not have the correct admin privileges and we achieved the DB reset through the Odoo GUI. 

However it was super annoying to have to re-install every addon we had chosen. Not sure how / why the modules we chose are connected to the database in Odoo code structure - but it would be ideal to be able to wipe all the data without resetting all our module choices. 

---

Christopher

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
сент. 24
1361
2
мая 23
13380
0
сент. 22
2763
0
июл. 25
1405
0
дек. 24
1517