You can do something like this (taken from GlSetupFroms.xml): <field name="invoiceItemTypeId"> <drop-down allow-empty="false" > <entity-options description="${description}" entity-name="InvoiceItemType"> <entity-constraint name="invoiceItemTypeId" operator="like" value="INV_%"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field>
Jeremy On Tue, Mar 11, 2014 at 10:53 AM, Adrian Stern <archd...@gmail.com> wrote: > Hi > > Since i only need a few of the available invoiceItemTypes i'm looking for a > way to hide the others from the user. Same goes for other DropDowns where i > wan't to reduce the entries. > > So lets say i create a new invoice and add an item to it. The item can have > one of many types and i want to limit the possible types available. > > Regards, Adrian >