Contributors mailing list archives
Re: Auto reloading widgets?by
Anybox, Pierre Verkest
Hi,Not sure what's the state, I don't think we use it in production, we had to play with that kind of behaviours to updated crm kaban on version 8.0 while an other user move a card https://bitbucket.org/anybox/web_live. not sure if something similar exists in OCA repo, on wich version are you working on ?
2017-11-15 11:32 GMT+01:00 email@example.com <firstname.lastname@example.org>:
Hi all,I have implemented a function where heavy tasks are performed in jobs using the queue_job module. When a job finishes, it updates a record in which I have a progressbar widget. I thought it would be nice if the progressbar was updating itself in the view when its value is changed in the database. Do any of you know if such a widget could exist? I found this topic on Github which talks of the auto_refresh feature which won't be implemented : https://github.com/odoo/odoo/
issues/6437But here it would more be tied to one particular widget instead of the whole view. For now the user has to reload the record in order to see the change. This could be useful in several places. Right now I can think of the mass mailing updating the number of sent items for instance, but I'm sure we could have other scenarios for which this could be a nice addition.Thanks,Emanuel Cino