TIP: You can type at any time to perform a new search.
Instant Messaging
im_chat · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Tools
- Folder size
- 0.66 MB
- License
- LGPL-3
- Application
- Yes
- Auto-installable
- Yes
- Website
- https://www.odoo.com/page/live-chat
- Last tracking update
- 2026-08-07 04:53:25
- Authors
- OpenERP SA
- Maintainers
- OpenERP SA
- Committers
- Antony Lesuisse, Olivier Dony, Fabien Pinckaers, Martin Trigaux, Odoo Translation Bot, Denis Ledoux, Goffin Simon, Cedric Snauwaert, Jérome Maes, Richard Mathot, Aaron Bohy
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- im_livechat, im_odoo_support
- Description
Instant Messaging ================= Allows users to chat with each other in real time. Find other users easily and chat in real time. It support several chats in parallel.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
im_chat assets | ir.ui.view | qweb | Inherits web.assets_backend |
HTTP endpoints (4)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/im_chat/history |
Controller.history |
none | json | ALL | |
/im_chat/image/<string:uuid>/<string:user_id> |
Controller.image |
none | http | ALL | |
/im_chat/init |
Controller.init |
none | json | ALL | |
/im_chat/post |
Controller.post |
none | json | ALL |
Models touched (5)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
get_messages(self, cr, uid, uuid, last_id=False, limit=20, context=None)get messages (id desc) from given last_id in the given session -
init_messages(self, cr, uid, context=None)get unread messages and old messages received less than AWAY_TIMER ago and the session_info for open or folded window -
post(self, cr, uid, from_uid, uuid, message_type, message_content, context=None)post and broadcast a message, return the message id
New fields (0)
No new fields.
Public methods (2)-
check_users_disconnection(self, cr, uid, context=None)disconnect the users having a too old last_poll -
update(self, cr, uid, presence=True, context=None)register the poll, and change its im status if necessary. It also notify the Bus if the status has changed.
New fields (0)
No new fields.
Public methods (8)-
add_user(self, cr, uid, uuid, user_id, context=None)add the given user to the given session -
get_image(self, cr, uid, uuid, user_id, context=None)get the avatar of a user in the given session -
is_in_session(self, cr, uid, uuid, user_id, context=None)return if the given user_id is in the session -
is_private(self, cr, uid, ids, context=None) -
session_get(self, cr, uid, user_to, context=None)returns the canonical session between 2 users, create it if needed -
session_info(self, cr, uid, ids, context=None)get the session info/header of a given session -
update_state(self, cr, uid, uuid, state=None, context=None)modify the fold_state of the given session, and broadcast to himself (e.i. : to sync multiple tabs) -
users_infos(self, cr, uid, ids, context=None)get the user infos for all the user in the session
New fields (0)
No new fields.
Public methods (1)-
im_search(self, cr, uid, name, limit=20, context=None)search users with a name and return its id, name and im_status