Author: hansbak
Date: Wed Apr 15 06:10:12 2009
New Revision: 765060
URL:
http://svn.apache.org/viewvc?rev=765060&view=revLog:
corrected error in email setting for new user
Modified:
ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml
Modified: ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml?rev=765060&r1=765059&r2=765060&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml Wed Apr 15 06:10:12 2009
@@ -158,9 +158,8 @@
<!-- Send e-mail to new create user -->
<entity-one entity-name="WebSite" value-field="webSite"/>
- <set field="storeEmailLookup.productStoreId" from-field="webSite.productStoreId"/>
- <set field="storeEmailLookup.emailType" value="PRDS_CUST_REGISTER"/>
- <find-by-primary-key map="storeEmailLookup" entity-name="ProductStoreEmailSetting" value-field="storeEmail"/>
+ <set field="storeEmailLookup.emailTemplateSettingId" value="PARTY_REGISTER"/>
+ <find-by-primary-key map="storeEmailLookup" entity-name="EmailTemplateSetting" value-field="storeEmail"/>
<get-related-one value-field="createdUserLogin" relation-name="Person" to-value-field="person"/>
<set field="bodyParameters.person" from-field="person"/>
<set field="emailParams.bodyParameters" from-field="bodyParameters"/>