Add screenlet to show list of opportunity for an account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -299,6 +299,7 @@ under the License.
|
||||
<include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
<include-screen name="Content" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
<include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
<include-screen name="AccountSalesOpportunities" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
</container>
|
||||
</widgets>
|
||||
</section>
|
||||
@@ -350,6 +351,7 @@ under the License.
|
||||
<widgets>
|
||||
<include-screen name="Content" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
<include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
<include-screen name="AccountSalesOpportunities" location="component://party/widget/partymgr/ProfileScreens.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</container>
|
||||
|
||||
@@ -4625,6 +4625,11 @@
|
||||
<value xml:lang="th">ลักษณะการสั่งซื้อ</value>
|
||||
<value xml:lang="zh">订单选项</value>
|
||||
</property>
|
||||
<property key="OrderOpportunities">
|
||||
<value xml:lang="en">Opportunities</value>
|
||||
<value xml:lang="fr">Opportunités</value>
|
||||
<value xml:lang="it">Opportunità</value>
|
||||
</property>
|
||||
<property key="OrderOrder">
|
||||
<value xml:lang="cs">Objednávka</value>
|
||||
<value xml:lang="de">Bestellung</value>
|
||||
|
||||
@@ -2904,6 +2904,17 @@ under the License.
|
||||
</relation>
|
||||
</entity>
|
||||
|
||||
<view-entity entity-name="SalesOpportunityAndRole" package-name="org.ofbiz.order.opportunity" title="SalesOpportunity And Role View Entity">
|
||||
<member-entity entity-alias="SO" entity-name="SalesOpportunity"/>
|
||||
<member-entity entity-alias="SR" entity-name="SalesOpportunityRole"/>
|
||||
<alias-all entity-alias="SO"/>
|
||||
<alias name="partyId" entity-alias="SR"/>
|
||||
<alias name="roleTypeId" entity-alias="SR"/>
|
||||
<view-link entity-alias="SO" rel-entity-alias="SR">
|
||||
<key-map field-name="salesOpportunityId"/>
|
||||
</view-link>
|
||||
</view-entity>
|
||||
|
||||
<entity entity-name="SalesOpportunityStage"
|
||||
package-name="org.ofbiz.order.opportunity"
|
||||
title="Describes stages of a sales opportunity with associated probability factors.">
|
||||
|
||||
@@ -1025,4 +1025,10 @@ under the License.
|
||||
<field name="fromPartyId"><display/></field>
|
||||
<field name="toPartyId"><display/></field>
|
||||
</form>
|
||||
<form name="PartySalesOpportunities" type="list" list-name="salesOpportunities" default-table-style="basic-table hover-bar">
|
||||
<field name="salesOpportunityId"><display/></field>
|
||||
<field name="opportunityName"><display/></field>
|
||||
<field name="estimatedAmount"><display/></field>
|
||||
<field name="partyId"><display/></field>
|
||||
</form>
|
||||
</forms>
|
||||
|
||||
@@ -524,4 +524,21 @@
|
||||
</section>
|
||||
</screen>
|
||||
|
||||
<screen name="AccountSalesOpportunities">
|
||||
<section>
|
||||
<actions>
|
||||
<set field="partyId" from-field="parameters.partyId"/>
|
||||
<entity-and entity-name="SalesOpportunityAndRole" list="salesOpportunities">
|
||||
<field-map field-name="partyId" from-field="partyId"/>
|
||||
<order-by field-name="salesOpportunityId"/>
|
||||
</entity-and>
|
||||
</actions>
|
||||
<widgets>
|
||||
<screenlet title="${uiLabelMap.OrderOpportunities}" >
|
||||
<include-form name="PartySalesOpportunities" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
|
||||
</screenlet>
|
||||
</widgets>
|
||||
</section>
|
||||
</screen>
|
||||
|
||||
</screens>
|
||||
|
||||
Reference in New Issue
Block a user