I have two modules dealer and distibutor ,
having many-to-many relationship between them.
Another module consumer , having dealer relate field and distributor relate field.
I want upgrade-safe customization , when in consumer editview , after seleting dealer , the distribuor relate field popup search and selection will show only those distributor that are related with the selected dealer.
It’s not a relate dropdown question, it’s about two relate fields in one module , and these relate fields modules have many-to-many relationship with each other.
My question is to customize the relate field popup search filters based on above mentioned scenario.
Thanks!
The basic structure applies: you need to customize a view; you need to inject some javascript so that your code is able to react to events in a dropdown.
After you get that part working, it’s really just a matter of detail what you need to do next with the other dropdown.