Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use special filtering in select related record poup
#1
We use tickets a lot in conjunction with assets. In the current setup, some tickets are created as stand-alone (so not created from an asset), and later on related to an asset through an m:m relation. I was wondering if we could create a filter in the popup field that would allow us to see only tickets that are not related to a single asset so far. This was we would prevent single tickets to be related to multiple assets by accident.
Reply
#2
I haven't done this in a while, but if I remember correctly you will have to add a getQueryByModuleField method in assets to filter out the ones that are already related.

http://corebos.org/documentation/doku.php?id=en:devel:corebos_hooks:popup_query_hook

Keep asking if you need any help
Joe
TSolucio
Reply
#3
Will see if I can get someting there. I remember this from our adventure trying to mix m:m with UI10 related records...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)