LP#1479107 Fix IDL classname for account adjustments
authorDan Wells <dbw2@calvin.edu>
Tue, 18 Aug 2015 16:10:28 +0000 (12:10 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 19 Aug 2015 17:30:18 +0000 (13:30 -0400)
This table went through two name changes, and left some debris along
the way.  Let's standardize on the default choice of 'maa' for the IDL
classname abbreviation.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/examples/fm_IDL.xml

index e345393..3a91582 100644 (file)
@@ -3625,7 +3625,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        </actions>
                </permacrud>
        </class>
-       <class id="map" controller="open-ils.cstore" oils_obj:fieldmapper="money::account_adjustment" oils_persist:tablename="money.account_adjustment" reporter:label="Account Adjustment">
+       <class id="maa" controller="open-ils.cstore" oils_obj:fieldmapper="money::account_adjustment" oils_persist:tablename="money.account_adjustment" reporter:label="Account Adjustment">
                <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
                        <field name="accepting_usr" reporter:datatype="link"/>
                        <field name="amount" reporter:datatype="money" />
@@ -6962,7 +6962,7 @@ SELECT  usr,
                        <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
                        <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
                        <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
-                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="map"/>
+                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
                        <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
                </links>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
@@ -7000,7 +7000,7 @@ SELECT  usr,
                        <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
                        <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
                        <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
-                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="mvp"/>
+                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
                        <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
                        <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
                </links>
@@ -7025,7 +7025,7 @@ SELECT  usr,
                        <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
                        <link field="goods_payment" reltype="might_have" key="id" map="" class="mgp"/>
                        <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
-                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="mvp"/>
+                       <link field="account_adjustment" reltype="might_have" key="id" map="" class="maa"/>
                        <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
                </links>
        </class>