The Discuss Companion is a companion app for Odoo Discuss, currently supporting macOS, Windows, and Linux (X11). It provides system-wide Push-to-Talk (PTT) capabilities, allowing you to use your PTT key even when the browser is not in focus, along with convenient quick-access call control features when in a call in Odoo Discuss. This also requires the extension to be installed in a compatible browser (chromium / firefox).
The app backend is written in Rust, the app frontend (and the extension) is written in TypeScript using Owl v3 as the framework.
- Browser: Chromium or Firefox addons compatible browser.
- OS: macOS, Windows, or Linux (X11 only, Wayland not yet supported).
-
Permissions:
- On the first run, macOS will prompt for Accessibility Permissions (it will appear as permissions to your IDE or whatever spawns the app).
- Grant permission in
System Settings→Privacy & Security→Accessibility. - Restart the app after granting permission.
-
Browser-side permission:
- This permission should be granted to allow the page to communicate with the companion app:
- Launch the Discuss Companion.
- Ensure the status indicator says "Accessibility Granted" (on macOS you need to give both "Accessibility" and "Input Monitoring" permissions).
- On the extension, press the gear iconn and check "use discuss companion"
- In Odoo Discuss, enter a voice call.
- Use the System Tray icon to Show/Hide the monitoring window or Quit the app.
The WebSocket port (default: 49152) can be configured if needed (e.g. to avoid conflicts):
- App: Change it directly in the main interface and click "Reload".
- Extension: click the extension icon -> Options -> when "use discuss companion" is checked, an option to change the posrt is available.
Interested in contributing or just running the app from sources? Check the CONTRIBUTING.md.
