svn commit: r1807890 - in /ofbiz/ofbiz-framework/trunk/applications: marketing/widget/sfa/forms/OpportunityForms.xml party/widget/partymgr/LookupScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1807890 - in /ofbiz/ofbiz-framework/trunk/applications: marketing/widget/sfa/forms/OpportunityForms.xml party/widget/partymgr/LookupScreens.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Sep  9 12:49:46 2017
New Revision: 1807890

URL: http://svn.apache.org/viewvc?rev=1807890&view=rev
Log:
FIXED: UI issue in Lead Lookup on find opportunity. (OFBIZ-9477)
Thanks Jagpreet for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
    ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/LookupScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=1807890&r1=1807889&r2=1807890&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Sat Sep  9 12:49:46 2017
@@ -25,7 +25,7 @@ under the License.
         header-row-style="header-row" default-table-style="basic-table">
         <field name="salesOpportunityId"><hidden/></field>
         <field name="opportunityName" title="${uiLabelMap.SfaFindOpportunities}"><text-find size="25"></text-find></field>
-        <field name="partyId" title="${uiLabelMap.SfaLead}"><lookup target-form-name="LookupLeads"/></field>
+        <field name="partyId" title="${uiLabelMap.SfaLead}"><lookup target-form-name="LookupLead"/></field>
         <field name="opportunityStageId" title="${uiLabelMap.SfaInitialStage}">
             <drop-down allow-empty="true">
                 <entity-options entity-name="SalesOpportunityStage">

Modified: ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/LookupScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/LookupScreens.xml?rev=1807890&r1=1807889&r2=1807890&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/LookupScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/widget/partymgr/LookupScreens.xml Sat Sep  9 12:49:46 2017
@@ -204,6 +204,9 @@ under the License.
                 <set field="title" from-field="uiLabelMap.PartyLookupLead"/>
                 <set field="entityName" value="PartyRoleAndPartyDetail"/>
                 <set field="parameters.roleTypeId" value="LEAD"/>
+                <set field="searchFields" value="[partyId, firstName, lastName, middleName, groupName]"/>
+                <set field="searchDistinct" value="true"/>
+                <set field="conditionFields.roleTypeId" value="LEAD" />
             </actions>
             <widgets>
                 <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml">