This question has been flagged
3 Replies
5077 Views

I want to install instant messaging for 7.0 and found a module on bitbucket. I assume this is git but I always got an error message

sudo git clone https://bitbucket.org/anybox/web_im

fatal: repository 'https://bitbucket.org/anybox/web_im' not found

As I had problems coling from github earlier due to weak connection I thought at first this is the same set of problem but it didn't go away after many many attempts. Clicking on the 'clone' button on that bitbucket site I found this command  hg clone https://bitbucket.org/anybox/web_im

what does that mean and how do I clone it?

Avatar
Discard
Author Best Answer

seems hg clone is a mercurial command http://en.wikipedia.org/wiki/Mercurial

  • apt-get install mercurial
  • sudo hp clone https://bitbucket.org/anybox/web_im

I was so happy to be able to avoid learning bzr when OCA version moved to git. now this ... damn!

Well, on the other hand ... who am I to complain about someone writing a module I want to use and providing it to me for free. If they love mercurial, so will I

A question to the developers: Is this the same Instant Messaging that is available for odoo 8, or saas versions? Or did you do something new, or different or better?

Avatar
Discard
Best Answer

If you can't clone it ( for some reasons ...) try to download it as zip or tar file from https://bitbucket.org/anybox/web_im/downloads .

It's not the same application  as the one provided in the trunk, but it works for V7.0.

Do not forget the prerequesites (web_socketio, web_longpolling and Nginx) and follow the instructions as described in the presentation.

For the web_socketio don't forget the prerequesites: gevent , gevent_psycopg2, and gevent_socketio

All credits goes to ANYBOX.

web_socketio is for both: web_socketio and web_longpolling

 

 

 

Avatar
Discard
Author

using Mercurial actual helps very much with the cloning! I have seen the dependencies for web_socketio and web_longpolling. Problem there is no module "web_longpolling" the link on the bitbucket site also only point to web_socketio. Seems to me that is a mistake on the developers (ANYBOX) end ? Furthermore do you know wether this IM is capabale of showing the messaging history (which is not possible for the openerp module and is a little a shortcoming on their end

under web_socketio there is two modules web_socketio and web_longpolling

Author

true, found them ... about the IM history ... do you know whether this anybox module can show and search it?

Author

not sure whether what Fabien said (no need to use a community module for IM) is actually applicable for v7.0, but if ... do you know why this "anybox" module even has been made? If there was an official IM module for 7 there must be a reason why the people from 'anybox' have bothered to do another IM module. I mean they must feel it is somehow better or at least different the the official. Maybe anyone might want to comment on that?

I don't think that IM module is for V7.0, because it's not usable as is, but it needs many patch .. I also think that Fabien is talking about V8.0 !!! When there is 2 or more modules doing the same thing (with the same features), this is not a problem at all (this is not a conflict nor a contradiction), but an enrichment for OpenERP ... Could you please explain what do you mean by: " do you know whether this anybox module can show and search it?"

Author

original IM module (tested that earlier on a saas~1 installation) had(s) one shortcoming: once you close the chatwindow, the messages are gone. I think they are even stored in the database still but the IM module has no functionlaity to show them anymore. Back then we even made a module ourselves that adds a menu IM where all messages are being listed and can be searched through.

Author

I have a suspicion you need a static (external) IP adress in order to make this work. is that so? Actually at present I only need internal Instant Messaging and would rather not touch opening any ports, setting up Nginx, etc ... would that work for internal messaging?

Yes it works for internal use; and you must use and configure Nginx (as described in the doc).

Best Answer

You should use the official IM module, no need to download a community module for instant messaging.

Avatar
Discard
Author

I would, if there was any. Please correct me whether my perception is wrong but I am under the impression there is no IM module for 7.0, isn't that so?

Author

I would, if there was any. Please correct me whether my perception is wrong but I am under the impression there is no IM module for 7.0, isn't that so?

Author

looked at this again based on your comment but there isn't actually any IM module in 7.0 (https://github.com/odoo/odoo/tree/7.0/addons). Do you imply that 8.0 or saas-3/4 IM module could be used in a 7.0 installation? I saw there are several threads regarding this but it never was real clear to me that this was actually working