When we create a new customer profile, it doesn't send correct mail according to "UPD_PRSNL_INF_CNFRM", "PARTY_REGIS_CONFIRM" and "RDS_CUST_REGISTER" emailType. Currently it grabs the first from the list of ProductStoreEmailSetting entity and uses it's email settings to send the email. It was due to unavailability of productStoreId for sending mail so whenever new customer profile will be created it should be associated to certain product store and its role type will be "CUSTOMER". Apart from this customer profile page should have information about associated product stores. Following points are covered: 1. Improved patch from OFBIZ-3000. 2. Improved Product Store Roles screens. 3. Added ProductStores portlet into party profile screen. 4. Created updateProductStoreRole service for updating ProductStoreRole record. 5. Removed EditProductStoreRoles.groovy and EditProductStoreRoles.ftl . Thanks to Amit Sharma for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916219 13f79535-47bb-0310-9956-ffa450edef68
164 lines
9.9 KiB
XML
164 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<entity-engine-xml>
|
|
|
|
<!-- party -->
|
|
<PortletCategory portletCategoryId="PROFILE" description="Profiles"/>
|
|
<PortalPortlet portalPortletId="party"
|
|
portletName="Party Info"
|
|
screenName="Party"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="General information about a person or party group"
|
|
screenshot="/images/portlets/party.png"/>
|
|
<PortletPortletCategory portalPortletId="party" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="Attributes" portletName="Attributes"
|
|
screenName="Attributes"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Attributes of a party"
|
|
screenshot="/images/portlets/Attributes.png"/>
|
|
<PortletPortletCategory portalPortletId="Attributes" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="PartyIdentifications" portletName="Party Identification"
|
|
screenName="PartyIdentifications"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Identification associate to a party"
|
|
screenshot=""/>
|
|
<PortletPortletCategory portalPortletId="PartyIdentifications" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="AvsSettings" portletName="Avs Settings"
|
|
screenName="AvsSettings"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Avs Settings of a party"
|
|
screenshot="/images/portlets/AvsSettings.png"/>
|
|
<PortletPortletCategory portalPortletId="AvsSettings" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="Content" portletName="Content"
|
|
screenName="Content"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Attached Content of a party"
|
|
screenshot="/images/portlets/Content.png"/>
|
|
<PortletPortletCategory portalPortletId="Content" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="LoyaltyPoints" portletName="Loyalty Points"
|
|
screenName="LoyaltyPoints"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Loyalty Points of a party"
|
|
screenshot="/images/portlets/LoyaltyPoints.png"/>
|
|
<PortletPortletCategory portalPortletId="LoyaltyPoints" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="MYTASKSPARTY" portletName="My Tasks From Party"
|
|
screenName="mytasks"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Assigned Tasks of a party"
|
|
screenshot="/images/portlets/MYTASKSPARTY.png"/>
|
|
<PortletPortletCategory portalPortletId="MYTASKSPARTY" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="Notes" portletName="Notes"
|
|
screenName="Notes"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Notes of a party"
|
|
screenshot="/images/portlets/Notes.png"/>
|
|
<PortletPortletCategory portalPortletId="Notes" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="PaymentMethods" portletName="Payment Methods"
|
|
screenName="PaymentMethods"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="PaymentMethods of a party"
|
|
screenshot="/images/portlets/PaymentMethods.png"/>
|
|
<PortletPortletCategory portalPortletId="PaymentMethods" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="ShipperAccount" portletName="Shipper Account"
|
|
screenName="ShipperAccount"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Shipper Accounts of a party"
|
|
screenshot="/images/portlets/ShipperAccount.png"/>
|
|
<PortletPortletCategory portalPortletId="ShipperAccount" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="UserLogin" portletName="User Login"
|
|
screenName="UserLogin"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="User Logins of a party"
|
|
screenshot="/images/portlets/UserLogin.png"/>
|
|
<PortletPortletCategory portalPortletId="UserLogin" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="Visits" portletName="Visits"
|
|
screenName="Visits"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Visits of a certain party"
|
|
screenshot="/images/portlets/Visits.png"/>
|
|
<PortletPortletCategory portalPortletId="Visits" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="ProductStores" portletName="ProductStores"
|
|
screenName="ProductStores"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="ProductStores of a certain party"/>
|
|
<PortletPortletCategory portalPortletId="ProductStores" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="contact" portletName="Contact"
|
|
screenName="Contact"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="contact methods of a party"
|
|
screenshot="/images/portlets/contact.png"/>
|
|
<PortletPortletCategory portalPortletId="contact" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="partyRelContacts" portletName="Account Related Contacts"
|
|
screenName="partyRelContacts"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Related contacts of an account"/>
|
|
<PortletPortletCategory portalPortletId="partyRelContacts" portletCategoryId="PROFILE"/>
|
|
|
|
<PortalPortlet portalPortletId="partyRelAccounts" portletName="Contact Related Accounts"
|
|
screenName="partyRelAccounts"
|
|
screenLocation="component://party/widget/partymgr/ProfileScreens.xml"
|
|
description="Related accounts of an contact"/>
|
|
<PortletPortletCategory portalPortletId="partyRelAccounts" portletCategoryId="PROFILE"/>
|
|
|
|
<!-- communications -->
|
|
<PortletCategory portletCategoryId="COMMUNICATIONS" description="Communication(s)"/>
|
|
<PortalPortlet portalPortletId="MyCommunications" portletName="My Communications" description="IN and outgoing Communication list of a party"
|
|
screenName="MyCommunicationEvents"
|
|
screenLocation="component://party/widget/partymgr/CommunicationEventScreens.xml"
|
|
editFormName="EditCommPortletParams" editFormLocation="component://party/widget/partymgr/CommunicationEventForms.xml"
|
|
screenshot="/images/portlets/MyCommunications.png"/>
|
|
<PortletPortletCategory portalPortletId="MyCommunications" portletCategoryId="COMMUNICATIONS"/>
|
|
|
|
<PortalPage portalPageId="PartyProfile" sequenceNum="0" portalPageName="Party Profile Portal Page" description="Party profile page using flexible Portal technology" ownerUserLoginId="_NA_"/>
|
|
<PortalPageColumn portalPageId="PartyProfile" columnSeqId="00001" columnWidthPercentage="50"/>
|
|
<PortalPageColumn portalPageId="PartyProfile" columnSeqId="00002"/><!-- no width in pixels or percent, use the rest of the space available -->
|
|
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="party" portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="partyRelContacts" portletSeqId="00001" columnSeqId="00001" sequenceNum="1"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="partyRelAccounts" portletSeqId="00001" columnSeqId="00001" sequenceNum="2"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="contact" portletSeqId="00001" columnSeqId="00001" sequenceNum="3"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="LoyaltyPoints" portletSeqId="00001" columnSeqId="00001" sequenceNum="4"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="PaymentMethods" portletSeqId="00001" columnSeqId="00001" sequenceNum="5"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="PartyIdentifications" portletSeqId="00001" columnSeqId="00001" sequenceNum="6"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="UserLogin" portletSeqId="00001" columnSeqId="00002" sequenceNum="1"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="Attributes" portletSeqId="00001" columnSeqId="00002" sequenceNum="2"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="AvsSettings" portletSeqId="00001" columnSeqId="00002" sequenceNum="3"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="Visits" portletSeqId="00001" columnSeqId="00002" sequenceNum="4"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="Content" portletSeqId="00001" columnSeqId="00002" sequenceNum="5"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="Notes" portletSeqId="00001" columnSeqId="00002" sequenceNum="6"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="Visits" portletSeqId="00001" columnSeqId="00002" sequenceNum="7"/>
|
|
<PortalPagePortlet portalPageId="PartyProfile" portalPortletId="ProductStores" portletSeqId="00001" columnSeqId="00002" sequenceNum="8"/>
|
|
|
|
</entity-engine-xml>
|