Change the field 'andCondition' (which use direct call to groovy) to 'conditionFields' in the lookup applications/party/widget/partymgr/LookupScreens#LookupInternalOrganization and applications/party/widget/partymgr/LookupScreens#LookupContact. Related issue OFBIZ-7657 and OFBIZ-7658, thanks to Florian Montalbano for these issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750492 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -180,8 +180,7 @@ under the License.
|
||||
<set field="parameters.roleTypeId" value="CONTACT"/>
|
||||
<set field="searchFields" value="[partyId, firstName, middleName, lastName]"/>
|
||||
<script location="component://party/groovyScripts/party/StatusCondition.groovy"/>
|
||||
<set field="andCondition" value="${groovy: return org.ofbiz.entity.condition.EntityCondition.makeCondition([
|
||||
org.ofbiz.entity.condition.EntityCondition.makeCondition('roleTypeId', 'CONTACT')])}"/>
|
||||
<set field="conditionFields.roleTypeId" value="CONTACT" />
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
||||
@@ -414,8 +413,7 @@ under the License.
|
||||
<set field="roleTypeId" value="INTERNAL_ORGANIZATIO"/>
|
||||
<set field="searchFields" value="[partyId, groupName, partyGroupComments]"/>
|
||||
<script location="component://party/groovyScripts/party/StatusCondition.groovy"/>
|
||||
<set field="andCondition" value="${groovy: return org.ofbiz.entity.condition.EntityCondition.makeCondition([context.andCondition,
|
||||
org.ofbiz.entity.condition.EntityCondition.makeCondition('roleTypeId', 'INTERNAL_ORGANIZATIO')])}"/>
|
||||
<set field="conditionFields.roleTypeId" value="INTERNAL_ORGANIZATIO" />
|
||||
</actions>
|
||||
<widgets>
|
||||
<decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">
|
||||
|
||||
Reference in New Issue
Block a user