Skip to Content
Menu
This question has been flagged
1 Reply
2572 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..........

Related Posts Replies Views Activity
1
Jun 23
924
0
Mar 15
3192
2
Mar 15
5843
1
Mar 15
5628
3
Mar 15
4616