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

Real time model data on website

Odoberať

Get notified when there's activity on this post

This question has been flagged
geventsocket.iorealtimereal_timeodoo9
1 Odpoveď
13231 Zobrazenia
Avatar
Manu Miu

Hi,


is it possible or how is it possible to display data from a model in realtime on the website?

Do I have to create a socket connection from the server (over an extra port with proxy redirection) to the client and implement both socket endpoints in python and javascript by myself?

Or is there a standard odoo way to implement something like that?


Thanks!

0
Avatar
Zrušiť
Avatar
Axel Mendoza
Best Answer

Hi @Manu Miu

There are tools for doing what you need and examples in the Odoo modules website_livechat, im_livechat, im_chat and bus.

All of those modules bring you the tools and how to do that tasks. It will not be easy but they are there implemented for doing that kind of stuffs. Review carefully the bus js files and how they are used in the other modules

1
Avatar
Zrušiť
Yenthe Van Ginneken (Mainframe Monkey)

A little sidenote here: the performance for the bus js files isn't very good so you might want to keep an eye out for that too. I once had a talk with the Odoo developers and they where talking about not using it to refresh data every few seconds.

Manu Miu
Autor

@Axel Mendoza: Thank you! That's what I wanted to know. But @Yenthe's sidenote causes me a headache, because I don't want to transport as few data as a chat and not every few seconds. It's a little bit more and should be in real-time. Would be absolutely no problem with socket.io but I want to realise this project with odoo. So would you advice me against odoo for a real-time data project?

Axel Mendoza

All depends on what data you need to display and who produce it and what it's the relation of that data with Odoo. You could use Odoo to build the website that display the data using socket.io and websockets using another service to return the data using a solution like nginx to upgrade the http connection to 1.1 and acting as a reverse proxy for your websocket service. I do this for our webrtc solution in Odoo using a solution developed in nodejs for that matter. In my case I need to use it with crm meetings and that's my reason to use Odoo for that end.

Rohit Pandey

Hi @axel, @Yenthee, I am in similar problem, i am developing live tracking like uber in odoo, which track the location of vechiles.How can i implement this?

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
Web Socket Integration, Real time data
socket.io realtime real_time v15
Avatar
0
máj 22
5217
External command inside a Button? Solved
python2.7 socket.io odooV9 odoo9
Avatar
Avatar
2
feb 16
6124
How to get data n view using custom widget in odoo 9
odoo9
Avatar
0
sep 23
2743
How to get data n view using custom widget in odoo 9
odoo9
Avatar
0
sep 23
2439
How to Remove " ADD NEW COLUMN " from task kanban view of Project Module? Solved
odoo9
Avatar
Avatar
Avatar
2
jún 25
12094
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