Author: taher
Date: Wed Oct 28 14:20:23 2015
New Revision: 1711021
URL:
http://svn.apache.org/viewvc?rev=1711021&view=revLog:
fix commit 1711020 by adjusting the comment location in XML file REF OFBIZ-6703
The comment was positioned badly, this fixes it to make it clear to the user
when the logic for checking actually starts.
REF
https://issues.apache.org/jira/browse/OFBIZ-6703Modified:
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml
Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml?rev=1711021&r1=1711020&r2=1711021&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml (original)
+++ ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml Wed Oct 28 14:20:23 2015
@@ -38,10 +38,10 @@
</then>
</if>
<check-errors/>
-
- <!-- PartyRole check start - if the user does not have OWNER roleType then add it -->
<set field="createPartyRoleCtx.partyId" from-field="userLogin.partyId"/>
<set field="createPartyRoleCtx.roleTypeId" value="OWNER"/>
+
+ <!-- PartyRole check start - if the user does not have OWNER roleType then add it -->
<entity-one entity-name="PartyRole" value-field="roleFound">
<field-map field-name="partyId" from-field="createPartyRoleCtx.partyId"/>
<field-map field-name="roleTypeId" from-field="createPartyRoleCtx.roleTypeId"/>