Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Resetting staging server database

Christopher Knight
on 6/5/15, 2:06 PM 737 views

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.

Christopher Knight
On 6/5/15, 4:00 PM

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. 



Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 6/5/15, 2:06 PM
Seen: 737 times
Last updated: 6/8/15, 10:01 AM