Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Auto reloading widgets?

by
Anybox, Pierre Verkest
- 15/11/2017 13:57:04
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 ecino@us.ci.org <ecino@us.ci.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/6437

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.

Thanks,

Emanuel Cino

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe




--
Anybox
Pierre Verkest
06 51 35 50 50
Github: petrus-v - Twitter: petrusv84

Reference