details:   https://code.openbravo.com/erp/devel/pi/rev/c9a1f46b3f1f
changeset: 21920:c9a1f46b3f1f
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Wed Feb 05 11:01:19 2014 +0530
summary:   Fixes Issue 0024851: Stock and valued stock report remove extra 
spaces in product name

Added styling to prevent auto trimming of spaces between words.

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html        |  6 
+++---
 src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_legacy.html |  6 
+++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (60 lines):

diff -r e98c64d54d97 -r c9a1f46b3f1f 
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html  Wed Feb 
05 01:47:44 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html  Wed Feb 
05 11:01:19 2014 +0530
@@ -13,7 +13,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2001-2010 Openbravo SLU
+ * All portions are Copyright (C) 2001-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -359,7 +359,7 @@
   <div id="sectionCategoryProduct"> 
     <table cellspacing="0" cellpadding="0" width="100%" 
class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
       <tr class="DataGrid_Body_Row"> 
-        <th class="DataGrid_Header_Cell">&nbsp;<span 
id="fieldCategoryName">xxQuímicos limpieza</span></th> 
+        <th class="DataGrid_Header_Cell">&nbsp;<span id="fieldCategoryName" 
style="white-space: pre;">xxQuímicos limpieza</span></th>
       </tr>
     </table>
     <table cellspacing="0" cellpadding="0" width="100%" 
class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
@@ -373,7 +373,7 @@
       <div id="sectionDetail"> 
         <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" 
id="funcEvenOddRow1xx"> 
           <td class="DataGrid_Body_Cell" width="58%"> <a class="LabelLink" 
href="#" onclick="openCostingTab('xx');return false;" 
onmouseover="window.status='Costs';return true;" 
onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId"> 
-            <span id="fieldProductName">xx24/10/2004</span></a></td>
+            <span id="fieldProductName" style="white-space: 
pre;">xx24/10/2004</span></a></td>
           <td class="DataGrid_Body_Cell" width="12%"  id="fieldQty" 
style="text-align:right;">xx24/10/2004</td>
           <td class="DataGrid_Body_Cell" width="10%" id="fieldUomName" 
>xx12/07/1923</td>
           <td class="DataGrid_Body_Cell" width="11%" id="fieldAverageCost" 
style="text-align:right;">xx3456&nbsp;</td>
diff -r e98c64d54d97 -r c9a1f46b3f1f 
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_legacy.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_legacy.html   
Wed Feb 05 01:47:44 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_legacy.html   
Wed Feb 05 11:01:19 2014 +0530
@@ -13,7 +13,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2001-2012 Openbravo SLU
+ * All portions are Copyright (C) 2001-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -359,7 +359,7 @@
   <div id="sectionCategoryProduct"> 
     <table cellspacing="0" cellpadding="0" width="100%" 
class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
       <tr class="DataGrid_Body_Row"> 
-        <th class="DataGrid_Header_Cell">&nbsp;<span 
id="fieldCategoryName">xxQuímicos limpieza</span></th> 
+        <th class="DataGrid_Header_Cell">&nbsp;<span id="fieldCategoryName" 
style="white-space: pre;">xxQuímicos limpieza</span></th>
       </tr>
     </table>
     <table cellspacing="0" cellpadding="0" width="100%" 
class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
@@ -373,7 +373,7 @@
       <div id="sectionDetail"> 
         <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" 
id="funcEvenOddRow1xx"> 
           <td class="DataGrid_Body_Cell" width="58%"> <a class="LabelLink" 
href="#" onclick="openCostingTab('xx');return false;" 
onmouseover="window.status='Costs';return true;" 
onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId"> 
-            <span id="fieldProductName">xx24/10/2004</span></a></td>
+            <span id="fieldProductName" style="white-space: 
pre;">xx24/10/2004</span></a></td>
           <td class="DataGrid_Body_Cell" width="12%"  id="fieldQty" 
style="text-align:right;">xx24/10/2004</td>
           <td class="DataGrid_Body_Cell" width="10%" id="fieldUomName" 
>xx12/07/1923</td>
           <td class="DataGrid_Body_Cell" width="11%" id="fieldAverageCost" 
style="text-align:right;">xx3456&nbsp;</td>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to