Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: How to deal with "ghosts" models

by
manuel
- 03/11/2015 11:37:20
Hi Stefan,

I tried once the db cleaner....  It so powerful I destroyed my DB...

So I need to truly study the ir_* tables and their relations to know
what to delete.

Thanks,
Manuel.


Le 09/03/15 06:42, Stefan a écrit :
> On 08-03-15 00:29, Manuel Vázquez wrote:
>> Hi all,
>>
>> I'm maintaining a year-long running DB.  We have gone through several
>> updates.
> 
> Hi Manuel,
> 
> try our module database_cleanup
> (https://github.com/OCA/server-tools/tree/8.0/database_cleanup). We
> created it to remove obsolete references such as the one you mention
> after migrations between major versions using OpenUpgrade.
> 
> Regards,
> Stefan
> 
> 
> 
>>
>> At the end of an upgrade I notice several messages like this one:
>>
>> 2015-03-07 17:40:27,691 14481 WARNING mercurio openerp.modules.loading:
>> Model export.xml is declared but cannot be loaded! (Perhaps a module was
>> partially removed or renamed)
>>
>> Do I need to write a migration for this?  Or can I use a standard tool?
>>
>> Best regards,
>> Manuel.
>>