Fixes: Net Before Overhead Report is not working

(OFBIZ-7317)

Here is the patch that removes the NBO(Net Before Overhead) report from the 
trunk. In the patch I have also removed the Demo data which is required by this 
report only.

Note : Please remove below data from existing database to avoid any data 
related problem in OrderPortletData.xml

<PortalPortlet portalPortletId="NBO_Report"
   portletName="Net Before Overhead Report"
   screenName="NetBeforeOverheadReport"
   screenLocation="component://birt/widget/order/OrderScreens.xml"
   description=""/>
<PortletPortletCategory portalPortletId="NBO_Report" portletCategoryId="REPORT"/>
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="NBO_Report" 
portletSeqId="00001" columnSeqId="00002" sequenceNum="11"/>


Thanks: Rohit Koushal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1763132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2016-10-03 08:59:10 +00:00
parent 48fa5e42d7
commit dcdf708d95
6 changed files with 0 additions and 5278 deletions
-5
View File
@@ -108,11 +108,6 @@
<value xml:lang="fr">Ventes des 3 derniers mois</value>
<value xml:lang="zh">最近3个月的销售报告</value>
</property>
<property key="BirtOrderReportNetBeforeOverheadReport">
<value xml:lang="en">Net Before Overhead Report</value>
<value xml:lang="fr">Net avant frais généraux</value>
<value xml:lang="zh">计入制造费用前的净值报表</value>
</property>
<property key="BirtOrderReportProductDemandReport">
<value xml:lang="en">Product Demand Report</value>
<value xml:lang="fr">Demandes par produit</value>
-8
View File
@@ -58,14 +58,6 @@
<PortletPortletCategory portalPortletId="SalesReport" portletCategoryId="REPORT"/>
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="SalesReport" portletSeqId="00001" columnSeqId="00002" sequenceNum="10"/>
<PortalPortlet portalPortletId="NBO_Report"
portletName="Net Before Overhead Report"
screenName="NetBeforeOverheadReport"
screenLocation="component://birt/widget/order/OrderScreens.xml"
description=""/>
<PortletPortletCategory portalPortletId="NBO_Report" portletCategoryId="REPORT"/>
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="NBO_Report" portletSeqId="00001" columnSeqId="00002" sequenceNum="11"/>
<PortalPortlet portalPortletId="PDR_Report"
portletName="Product Demand Report"
screenName="ProductDemandReport"
@@ -81,10 +81,6 @@ under the License.
<event type="groovy" path="component://birt/groovyScripts/order/SalesReport.groovy"/>
<response name="success" type="view" value="SalesOrderReportMonthHTML"/>
</request-map>
<request-map uri="NetBeforeOverheadReport.pdf"><security https="true" auth="true"/>
<event type="groovy" path="component://birt/groovyScripts/order/NetBeforeOverheadReport.groovy"/>
<response name="success" type="view" value="NetBeforeOverheadOrderReport"/>
</request-map>
<request-map uri="ProductDemandReport.pdf"><security https="true" auth="true"/>
<event type="groovy" path="component://birt/groovyScripts/order/ProductDemandReport.groovy"/>
<response name="success" type="view" value="ProductDemandOrderReport"/>
@@ -119,7 +115,6 @@ under the License.
<view-map name="SalesOrderReportHTML" type="birt" page="component://birt/webapp/ordermgr/reports/SalesReport.rptdesign" content-type="text/html"/>
<view-map name="SalesOrderReportWeekHTML" type="birt" page="component://birt/webapp/ordermgr/reports/SalesReportWeek.rptdesign" content-type="text/html"/>
<view-map name="SalesOrderReportMonthHTML" type="birt" page="component://birt/webapp/ordermgr/reports/SalesReportMonth.rptdesign" content-type="text/html"/>
<view-map name="NetBeforeOverheadOrderReport" type="birt" page="component://birt/webapp/ordermgr/reports/NetBeforeOverheadReport.rptdesign" content-type="application/pdf"/>
<view-map name="ProductDemandOrderReport" type="birt" page="component://birt/webapp/ordermgr/reports/ProductDemandReport.rptdesign" content-type="application/pdf"/>
<view-map name="OrdersByChannelReport" type="birt" page="component://birt/webapp/ordermgr/reports/OrdersByChannel.rptdesign" content-type="application/pdf"/>
<view-map name="SaleOrderDiscountCodeReport" type="birt" page="component://birt/webapp/ordermgr/reports/OrderDiscountCodeReport.rptdesign" content-type="application/pdf"/>
File diff suppressed because it is too large Load Diff
-12
View File
@@ -43,18 +43,6 @@ under the License.
<field name="submitButton" title="${uiLabelMap.CommonRun}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="NetBeforeOverheadReport" type="single" target="NetBeforeOverheadReport.pdf" title=""
header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK">
<field name="productStoreId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductStore" description="${storeName} [${productStoreId}]">
<entity-order-by field-name="storeName"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonRun}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ProductDemandReport" type="single" target="ProductDemandReport.pdf" title=""
header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK">
<field name="productStoreId">
-29
View File
@@ -37,20 +37,6 @@ under the License.
</section>
</screen>
<screen name="NetBeforeOverheadReport">
<section>
<actions>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportNetBeforeOverheadReport}">
<include-form name="NetBeforeOverheadReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandReport">
<section>
<actions>
@@ -139,21 +125,6 @@ under the License.
</section>
</screen>
<screen name="NetBeforeOverheadOrderReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportNetBeforeOverheadReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/NetBeforeOverheadReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandOrderReport ">
<section>
<actions>