I need a realtime notification with odoo owl and my backend, i am sending bus messages from odoo backend, and recieving on owl component, but i dont recieve anything on owl component side, what could be wrong? using odoo 17 btw
tried all of these options to send:
channel = (self._cr.dbname, 'xmd_redcross_realtime', 'public') channel2 = (self._cr.dbname, 'xmd_redcross_realtime', False)
self.env['bus.bus']._sendone(channel, {'type': 'refresh'}, 'task changed') self.env['bus.bus']._sendone(channel2, {'type': 'refresh'}, 'task changed') self.env['bus.bus']._sendone('xmd_redcross_realtime', 'test', 'task changed')
recieving on owl component side:
useBus(this.env.bus, "xmd_redcross_realtime", () => this.onBusNotification());
also tried with and im enabling that port on my docker setup
gevent_port = 8072