Skip to Content
Menu
This question has been flagged
4 Replies
2637 Views

Is there a way to prevent im_chat to be installed by default when creating an instance? This module is a pain when debugging as it does periodic connections on /longpolling/poll

I can uninstall it by hand afterwards but this is really tedious.

Avatar
Discard
Best Answer

tried setting active to False in __openerp__.py ? 

Avatar
Discard
Author

setting auto_install to False will do the trick too. But it should not be set up to auto install imo.

Best Answer

There are two option by make change in __openero__.py file

1. set 'auto_install'=False 

2. set 'active'= False (Warning: after setting this option you can not install this module)

 

Avatar
Discard
Best Answer

'active' is a deprecated key. If you have 'active' and 'auto_install' in the same __openerp__.py, you may have headache.

'active' will have the final word. Weird for a deprecated but as it is.

Deprecated api should be inactivated systematically replaced by logs message.

Avatar
Discard