İçereği Atla
Menü
Bu soru işaretlendi

    Hello,
    Often, our users encounter the problem that when they modify a value, on a selection field for example, sometimes other fields of the current are updated 'silently' by the cascade of 'on_change' ... (especially in the module mrp->workorders, or inventory -> tranfert)... 
    This causes frequent input errors that require additional correction when discovered .. and it can be a little 'twisted' to correct the error.

    The idea could be to highlight the modified fields (blink, contrast or whatever you want) until the next change or exit (save or cancel)

    What could be the right way to implement this?
    (xml / python / js)?
    (.. thinking about it, I wondered if there was a way, in python odoo, to know if the event 'onchange' received by a method comes directly from the field edited by the user, or the setting of the bound field by a cascade of 'onchange' ...?)

    Thank you for your answers :)
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Tem 24
3954
1
Mar 25
1499
1
Eki 23
2090
2
Eki 23
2329
2
Ağu 23
4350