This question has been flagged
1 Reply
2389 Views

Hi,

   I have developed a module to import data using csv, It has imported the data into the respected field. But when i tried to uninstall the module the imported file are still there.......after uninstall it has to be deleted.....how it can be achieved

Avatar
Discard
Best Answer

Odoo uninstall process don't touch the data of models which are not belongs to that uninstall model. For example if you develop a module to add one custom field to customer, when you un install this module, it will remove the data belongs to the custom field of customer. You have developed a module to upload data, if you uninstall this module you loss the functionality not the data. 

Avatar
Discard
Author

I got your point samba, thanks for the advice..........