Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: How to deal with "ghosts" models

by
Stefan Rijnhart
- 03/09/2015 04:01:29
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.
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-framework-62
> Post to: mailto:expert-framework@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>


-- 
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: stefan@therp.nl
tel: +31 (0) 614478606
web: http://therp.nl