This issue is still present in 2.9/master as of right now. From what I understand of the structure of fm_IDL.xml, this *should* work. Here's a snippet:
<class id="acp" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::copy" oils_persist:tablename="asset.copy" reporter:core="true" reporter:label="Item"> <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq"> ... <field reporter:label="Monograph Parts" name="parts" oils_persist:virtual="true" reporter:datatype="link"/> --- </fields> <links> ... <link field="parts" reltype="has_many" key="target_copy" map="part" class="acpm"/> ... </links>
The other links (aside from "Holds" and one of the stat_cat-related links) show up in the source tree.
This issue is still present in 2.9/master as of right now. From what I understand of the structure of fm_IDL.xml, this *should* work. Here's a snippet:
<class id="acp" controller= "open-ils. cstore open-ils.pcrud" oils_obj: fieldmapper= "asset: :copy" oils_persist: tablename= "asset. copy" reporter: core="true" reporter: label=" Item"> primary= "id" oils_persist: sequence= "asset. copy_id_ seq"> label=" Monograph Parts" name="parts" oils_persist: virtual= "true" reporter: datatype= "link"/ >
<fields oils_persist:
...
<field reporter:
---
</fields>
<links>
...
<link field="parts" reltype="has_many" key="target_copy" map="part" class="acpm"/>
...
</links>
The other links (aside from "Holds" and one of the stat_cat-related links) show up in the source tree.