How to use bus.notify()


I’d like to display a popup message box when a field is updated.
I tried in the same way that the one in tytond docs, but nothing appends in both clients.
What am I doing wrong ?

from trytond.bus import notify
def on_change_field(self):
    if some_checks:

The bus must be activated with allow_subscribe of server configuration.
:warning:The notification does not work for desktop client on Windows nor MacOS.

Thank you Cédric !
I never noticed the bus section in config file…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.