Wednesday, October 4, 2017

Odoo Database cleanup

I have a feeling to continue my project in Tenant Management system using latest Odoo 10. Sometimes, you need to remove some unnecessary columns and when you upgrade again your module it will stay and not totally remove it.

This is called 'stale' records/model. It's something that the data still configured in your odoo framework even you remove it from your model list.

For example, you want to delete the last column "test"




when you check on the PGADMIN the field "test" is still there even you upgrade your module. So you need to clean up the database from odoo.

since I'm using odoo 10, I need to use the compatible Cleanup Database which is free from odoo community.

https://pypi.python.org/pypi/odoo10-addon-database-cleanup/10.0.1.0.0.99.dev4



Eureka!




No comments:

Post a Comment

free online comma separating tool

https://delim.co/#