Author: hansbak
Date: Tue Jun 18 06:28:46 2013
New Revision: 1494034
URL:
http://svn.apache.org/r1494034Log:
only show companies in accounting which have an PartyAccntingPreference entry and not the whole organization.
Modified:
ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml
Modified: ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml?rev=1494034&r1=1494033&r2=1494034&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/GlSetupScreens.xml Tue Jun 18 06:28:46 2013
@@ -55,9 +55,7 @@ under the License.
<set field="titleProperty" value="AccountingAvailableInternalOrganizations"/>
<set field="headerItem" value="companies"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingAvailableInternalOrganizations}"/>
- <entity-condition entity-name="PartyRole" list="parties">
- <condition-expr field-name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/>
- </entity-condition>
+ <entity-and entity-name="PartyAcctgPreference" list="parties"/>
<service service-name="acctgPrefPermissionCheck" result-map="permResult">
<field-map field-name="mainAction" value="UPDATE"/>
</service>