Comment 1 for bug 1228392

Revision history for this message
Chris Sharp (chrissharp123) wrote :

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.