details: https://code.openbravo.com/erp/devel/pi/rev/9cddce3aa2bf
changeset: 15952:9cddce3aa2bf
user: Ioritz Cia <ioritz.cia <at> openbravo.com>
date: Thu Mar 29 17:22:40 2012 +0200
summary: Fixes issue 19663: Valued stock report's products link to 2.50 view.
diffstat:
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r f0bd7b1defcc -r 9cddce3aa2bf
src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html
--- a/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html Thu Mar
29 17:28:47 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.html Thu Mar
29 17:22:40 2012 +0200
@@ -91,6 +91,12 @@
function onResizeDo(){
resizeArea();
}
+ function openCostingTab(recordId) {
+ var myframe = getFrame('LayoutMDI') || top.opener;
+ if (myframe) {
+ myframe.OB.Utilities.openDirectTab('180', recordId, 'GRID');
+ }
+ }
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
onload="onLoadDo();" onresize="onResizeDo();">
@@ -366,7 +372,7 @@
</tr>
<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="submitCommandFormParameter('RELATION',
document.frmMain.inpmProductId, 'xx', false, document.frmMain,
'../Product/Costing_Relation.html', null, false, true);return false;"
onmouseover="window.status='Costs';return true;"
onmouseout="window.status='';return true;" class="Link" id="idfieldmProductId">
+ <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>
<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>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits