Author: hansbak
Date: Mon Nov 28 11:51:19 2011
New Revision: 1207093
URL:
http://svn.apache.org/viewvc?rev=1207093&view=revLog:
by default only show open opertunities in the find list
Modified:
ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=1207093&r1=1207092&r2=1207093&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Mon Nov 28 11:51:19 2011
@@ -47,6 +47,9 @@ under the License.
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2">
<actions>
<set field="parameters.noConditionFind" value="Y"/>
+ <set field="opportunityStageId" from-field="parameters.opportunityStageId"/>
+ <set field="parameters.opportunityStageId" value="${groovy:opportunityStageId==null?"SOSTG_CLOSED":opportunityStageId}"/>
+ <set field="parameters.opportunityStageId_op" value="${groovy:opportunityStageId==null?"notEqual":"equals"}"/>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
<field-map field-name="entityName" value="SalesOpportunity"/>