Hi,
I work on version 10 of odoo.
I'm trying to move the code in some old modules to new ones, in order to finally uninstall the old modules, so I proceded like this:
1 - move the code to my new modules.
2- delete the XML content in the original module so that I have only python code duplicated.
3- install my new modules.
4- uninstall original module.
the issue here is that the fields defined in the original module are removed from the database even though I redefined them in my new modules, resulting in a data loss,
is there any solution to refactor the code and change modules structure without losing data?