I have set an on_change event for a field (field A) in order to dynamically set a domain in another field (field B). This works perfect except that when creating a new record, field A is already initialized (field A is many2one), the on_change function is not triggered, so field B domain is not set.
Is there an event raised when an insert form (or edit form) is shown?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/26/14, 9:46 AM|
|Seen: 797 times|
|Last updated: 3/16/15, 8:10 AM|