Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

    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 :)
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 7 24
3917
V17 Tree, Form view Đã xử lý
1
thg 3 25
1476
1
thg 10 23
2079
2
thg 10 23
2317
2
thg 8 23
4332