A patch from Pierre Smits for "field type emailType is missing in entity EmailTemplateSetting" https://issues.apache.org/jira/browse/OFBIZ-5660

The field email type is missing. Thus it is not possible to categorize and filter emailsettingtemplates data.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1604370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2014-06-21 13:36:49 +00:00
parent 5a981e746a
commit d296ca03ca
@@ -75,6 +75,7 @@ under the License.
<entity entity-name="EmailTemplateSetting" package-name="org.ofbiz.common.email" title="Email Template Setting Entity">
<field name="emailTemplateSettingId" type="id-ne"></field>
<field name="emailType" type="id-ne"></field>
<field name="description" type="description"></field>
<field name="bodyScreenLocation" type="long-varchar"><description>if empty defaults to a screen based on the emailType</description></field>
<field name="xslfoAttachScreenLocation" type="long-varchar"><description>if specified is used to generate XSL:FO that is transformed to a PDF via Apache FOP and attached to the email</description></field>
@@ -84,6 +85,9 @@ under the License.
<field name="subject" type="comment"></field>
<field name="contentType" type="long-varchar"></field>
<prim-key field="emailTemplateSettingId"/>
<relation type="one" fk-name="EMAILSET_ENUM" rel-entity-name="Enumeration">
<key-map field-name="emailType" rel-field-name="enumId"/>
</relation>
</entity>
<!-- ========================================================= -->