Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

    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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
lug 24
3955
1
mar 25
1502
1
ott 23
2090
2
ott 23
2329
2
ago 23
4350