Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
6445 Weergaven

Another process is changing the database, and I want changes to automatically be visible in the form.

I've read about the auto_refresh field, but I (and many other people) can not get that to work. Also I've seen references in the source that this field seems to be deprecated.

I know this can put a strain on the database, but for this application that is not a problem.

Avatar
Annuleer

I can confirm is no working, I've drop a line on github too. Please add your reply too:https://github.com/odoo/odoo/issues/6437

Beste antwoord

For the sake of knowledge, this is the reply we got on github about auto_refresh from a dev:

Nobody is working on this. This was only ever supported in the old GTK client and its usefulness/use cases were limited enough that its implementation in the new web client was seen as unnecessary (it only worked in the form view, and would just unconditionally reload the form view from scratch every x seconds where x is the value of the auto_refresh field). There might be a better/more useful version of it if we ever implement data notification (though that would be post-9).

I hope they will reconsider this option in the future because on tree view will be very useful...

Avatar
Annuleer

Good find and good post Federico! I honestly think this feature could be really handy in tree views for refreshing data there..

Indeed. I'll have a look on it, again. :)

Was auto_refresh ever added? We are on ODOO 14 at the moment and would love to see this on inventory operations

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mrt. 24
2144
0
aug. 23
194
1
feb. 23
2439
1
dec. 22
12177
2
jul. 22
7386