On 22/11/12 17:39 -0300, Angel Arancibia wrote:
> Hi i'm trying to uninstall a module from tryton 2.4.
>
> Acording to [1] is not posible. But i realy need to remove it, so follow
> [2] and added some extra queries
>
> delete from ir_model where module like '%health_invoice%';
> delete from ir_model_data where module like '%health_invoice%';
> delete from ir_module_module where name like '%health_invoice%';
>
> also remove the module src from trytond/modules/
>
> After that i succesfully run
>
> trytond -u all -d DB
>
> But the module menu is still in the "health" menu. How can i remove it?
You should delete it from the ir_ui_menu table.
> There is any other way to fully remove a module from tryton?
Perhaps instead of removing the modules, you could try to put empty fake
module (with the same name), do an update of the database. Normally it
should remove all records created. And then you can do what you did.
Warning: I never tried such procedure.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel:
+32 472 54 46 59
Email/Jabber:
cedric...@b2ck.com
Website:
http://www.b2ck.com/