[open-ils-commits] r16223 - trunk/Open-ILS/examples (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 13 10:07:08 EDT 2010


Author: erickson
Date: 2010-04-13 10:07:06 -0400 (Tue, 13 Apr 2010)
New Revision: 16223

Modified:
   trunk/Open-ILS/examples/fm_IDL.xml
Log:
added pcrud perms for invoice payment method

Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml	2010-04-13 13:59:29 UTC (rev 16222)
+++ trunk/Open-ILS/examples/fm_IDL.xml	2010-04-13 14:07:06 UTC (rev 16223)
@@ -4619,10 +4619,16 @@
 
 	<class id="acqipm" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::invoice_payment_method" oils_persist:tablename="acq.invoice_payment_method" reporter:label="Invoice Payment Method">
 		<fields oils_persist:primary="code">
-			<field reporter:label="Code" name="code" reporter:datatype="id"/>
+			<field reporter:label="Code" name="code" reporter:datatype="id" reporter:selector="name"/>
 			<field reporter:label="Name" name="name" reporter:datatype="text"/>
 		</fields>
 		<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+            <actions>
+                <create permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+                <retrieve/>
+                <update permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+                <delete permission="ADMIN_INVOICE_PAYMENT_METHOD" global_required="true"/>
+            </actions>
 		</permacrud>
 	</class>
 



More information about the open-ils-commits mailing list