Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Setting up Instant Messaging for v7. What is hg clone and how does it relate to cloning the web_im respository ?

By
gunnar
on 8/2/14, 2:47 AM 1,610 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?

0

gunnar

--gunnar--
1153
| 6 7 8
Germany
--gunnar--

born

gunnar
On 8/2/14, 7:19 AM

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?

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 8/3/14, 11:01 AM

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

 

 

 

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

gunnar
on 8/4/14, 6:23 AM

under web_socketio there is two modules web_socketio and web_longpolling

Med Said BARA
on 8/4/14, 9:30 AM

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

gunnar
on 8/4/14, 9:45 PM

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?

gunnar
on 8/4/14, 10:08 PM

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?"

Med Said BARA
on 8/5/14, 4:15 AM

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.

gunnar
on 8/5/14, 8:16 PM

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?

gunnar
on 8/6/14, 4:29 AM

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

Med Said BARA
on 8/6/14, 7:43 AM
-1

Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
6598
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
On 8/3/14, 2:45 AM

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

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?

gunnar
on 8/4/14, 5:35 AM

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?

gunnar
on 8/4/14, 5:37 AM

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

gunnar
on 8/4/14, 9:52 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 8/2/14, 2:47 AM
Seen: 1610 times
Last updated: 3/16/15, 8:10 AM