You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/12/05 15:30:08 UTC

svn commit: r1042360 - /ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml

Author: jleroux
Date: Sun Dec  5 14:30:08 2010
New Revision: 1042360

URL: http://svn.apache.org/viewvc?rev=1042360&view=rev
Log:
A patch from Eric de Maulde "Product Store Email Setting with PARTY_EMAI" (https://issues.apache.org/jira/browse/OFBIZ-4027) - OFBIZ-4027

Product Store Email Setting page doesn't allow to configure an email from emailType = PARTY_EMAIL
So when an anonymous contact posts a message, an automated email isn't sent to the store payToPartyId

This patch add other choices (PARTY_EMAIL type) into the drop down email list, for the Product Store Email Setting page

JLR: I can't see any issues adding this OOTB, tough maybe it could be constrained more (using one of the enumId of PARTY_EMAIL)? BTW It's not a bug

Modified:
    ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml

Modified: ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml?rev=1042360&r1=1042359&r2=1042360&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductStoreForms.xml Sun Dec  5 14:30:08 2010
@@ -498,7 +498,7 @@
         <field name="emailType" title="${uiLabelMap.CommonEmailType}">
             <drop-down>
                 <entity-options entity-name="Enumeration" key-field-name="enumId" description="${description}">
-                    <entity-constraint name="enumTypeId" value="PRDS_EMAIL"/>
+                    <entity-constraint name="enumTypeId" operator="in" value="PRDS_EMAIL,PARTY_EMAIL"/>
                     <entity-order-by field-name="sequenceId"/>
                 </entity-options>
             </drop-down>