Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Is it possible to save messaging history with instant messaging?

Odoberať

Get notified when there's activity on this post

This question has been flagged
messagehistoryim
9 Replies
9621 Zobrazenia
Avatar
Laura Jarvenpaa

Current version of Instant messaging module doesn't save the messaging history if you close the chat. That's very inconvenient if you have to exchange information with other people and you have to check it out again later.

So is there any way to save messaging history somewhere and clear it when it is not anymore needed?

I know that you can use messages with social media module with preserves the history but they are more like sending e-mails and we are currently using skype for instant messaging so people are used to communicate with others thought instant messaging system and messages provided by social media module are not flexible enough.

0
Avatar
Zrušiť
Avatar
Laura Jarvenpaa
Autor Best Answer

Didn't find module Jean-Sébastien SUZANNE was referring to (found it later see edited comment in the end) but because creating this kind of view was rather easy I created it by myself. Here is code if some one else wants to create similar view:

python file

         from openerp.osv import fields,osv
         class im_history(osv.osv):
             _inherit = 'im.message'  
         im_history()

xml file

  <record id="view_im_history" model="ir.ui.view">
    <field name="name">im.message.tree</field>
    <field name="model">im.message</field>
    <field name="arch" type="xml">
            <tree string="Instant Message History">
                <field name="date"/>
                <field name="from_id"/>
                <field name="to_id"/>
                <field name="message"/>
            </tree>
    </field>
  </record>

  <!-- Top menu item -->
    <menuitem name="Instant Messages history"
        id="im_history_root"
        groups="base.group_user"
        sequence="10"/>

    <record id="open_view_im_history" model="ir.actions.act_window">
        <field name="name">Instant messaging history</field>
        <field name="res_model">im.message</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="view_im_history"/>
    </record>
    <!-- Had to add dummy parent menu for actions because top menus arent' clicable in OE -->
    <menuitem name="Actions" id="im_history" parent="im_history_root" groups="base.group_user"/>
    <menuitem action="open_view_im_history" id="menu_open_view_im_history" parent="im_history" sequence="20" groups="base.group_user"/>

Access rights are handled right automatically because im.message object already has record rule that user can see only messages sent to/from user.

Edit: BUT as was pointed out by Jean-Sébastien SUZANNE in the comment SUPERUSER by passes the rules so if you don't want that you can test web_im module found here: https://bitbucket.org/anybox I haven't tested it but it is said to be working.

2
Avatar
Zrušiť
Suzanne Jean-Sébastien

Good. I didn't see the rules. But for me the rules is not enough because SUPERUSER by pass the rules.

Suzanne Jean-Sébastien

IM module is for trunk version, my module can be use on the OpenERP v7 without patch

Laura Jarvenpaa
Autor

Ok, for us it is ok if the superuser sees the messages because then employees won't use it for chatting non work related stuff but I added link to your module list in the end of my answer so that others can use that if they need higher security.

Avatar
Suzanne Jean-Sébastien
Best Answer

Hi,

The message are already saved on the model im.message (table im_message). But not view add.

In the module web_im for OpenERP 7.0 the view exist and the user can see only this messages.

1
Avatar
Zrušiť
Laura Jarvenpaa
Autor

I tried to find this module from launchpad but couldn't find anything else than some references on bug reports. Also, google returned no result. Do you have some link for this module? Thanks!

Laura Jarvenpaa
Autor

Never mind. I created myself view to show messages from that table. Works fine.

Suzanne Jean-Sébastien

You could find this module on bitbucket. It is a module from anybox. You need the module web_socketio and if you know the buildout, you should use long polling_buildout

Avatar
Mark Stair
Best Answer

IM messaging is automatically saved in Messaging>Live Chat>History

So nothing really needed to show chat history.

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
[SOLVED] Add a message in "oe_chatter" - "Messages and communication history" box. Solved
message history oechatter
Avatar
Avatar
Avatar
Avatar
Avatar
5
mar 20
23370
Is it possible to delete messaging history within instant messaging?
message history instantiate instant
Avatar
0
mar 15
4970
Inquiry About Odoo Educational License and Free Access to Educational Program Solved
message
Avatar
Avatar
1
aug 25
1310
"Something went wrong... " in new database
message
Avatar
Avatar
1
jún 25
2072
Odoo 18 Notification delay issue
message
Avatar
Avatar
1
jún 25
1994
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now