details:   /erp/devel/pi/rev/fda4513af4d7
changeset: 7419:fda4513af4d7
user:      Sathiyan Sivaprakasam <sathiyan.sivaprakasam <at> openbravo.com>
date:      Tue May 25 13:35:48 2010 +0530
summary:   Fixes Issue 12849: Report Trial Balance doesn't navigate properly to 
General Ledger Report

diffstat:

 src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 5527d191eb7d -r fda4513af4d7 
src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html    Mon May 
24 16:34:32 2010 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html    Tue May 
25 13:35:48 2010 +0530
@@ -253,6 +253,14 @@
        function onResizeDo(){
                resizeArea();
        }
+       function submitCommandWithMarkChecked(elementValue){
+               var frm = document.frmMain;
+               markCheckedAllElements(frm.inpcBPartnerId_IN);
+           markCheckedAllElements(frm.inpcProjectId_IN);
+           markCheckedAllElements(frm.inpmProductId_IN);
+           submitCommandFormParameter('FIND', frm.inpcElementValueIdFrom, 
elementValue,false, frm, 'ReportGeneralLedger.html', '_self', false, true);
+       }
+       
 </script>
 </head>
     <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" 
onload="onLoadDo();" onresize="onResizeDo();">
@@ -916,7 +924,7 @@
                             <span id="showExpand" style="display: table-cell; 
display: -moz-inline-box;"><a href="#" onclick="updateData('OPEN', 
'hhqq');return false;" onMouseOver="window.status='Open';return true;" 
onMouseOut="window.status='';return true;" id="expandButton">
                               <span id="buttonTreemmm" 
class="datawarehouseclose"></span>
                             </a></span>
-                            <a href="#" 
onclick="submitCommandFormParameter('FIND', 
document.frmMain.inpcElementValueIdFrom, 'xx', false, document.frmMain, 
'ReportGeneralLedger.html', '_self', false, true);return false;" 
onmouseover="window.status='General Ledger';return true;" 
onmouseout="window.status='';return true;" class="LabelLink" id="fieldId1">
+                            <a href="#" 
onclick="submitCommandWithMarkChecked('xx');return false;" 
onmouseover="window.status='General Ledger';return true;" 
onmouseout="window.status='';return true;" class="LabelLink" id="fieldId1">
                               <span id="fieldAccount">xx70000</span>
                             </a>
                             <span id="fieldDescAccount">xx600</span>

------------------------------------------------------------------------------

_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to