Contributors mailing list archives


Re: Auto reloading widgets?

by "" <> - 15/11/2017 13:08:13
Sorry, I forgot to mention we are using Odoo version 10.0

Le mercredi 15 novembre 2017 à 13:02 +0000, Pierre Verkest a écrit :

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 not sure if something similar exists in OCA repo, on wich version are you working on ?

2017-11-15 11:32 GMT+01:00 <>:
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 :

But 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.


Emanuel Cino

Post to: