src/org/openbravo/erpCommon/ad_forms/InformeInOut.html
changeset 528 7aa737db257f
parent 378 5c93458e2916
child 628 492ad1a5c917
--- a/src/org/openbravo/erpCommon/ad_forms/InformeInOut.html	Thu Mar 13 10:27:24 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_forms/InformeInOut.html	Thu Mar 13 14:33:37 2008 +0000
@@ -21,7 +21,9 @@
 <TITLE>Indirect expenses report</TITLE>
 <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
-<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
+<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
 <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
@@ -38,8 +40,30 @@
 	new TypeAheadCombo("inpClaveCategoriaProducto");
 }
 </SCRIPT>
+	<SCRIPT language="JavaScript" type="text/javascript">
+	function onLoadDo(){
+		this.windowTables = new Array(
+		  new windowTableId('client')
+		);
+		setWindowTableParentElement();
+		this.tabsTables = new Array(
+		  new tabTableId('tdtopTabs')
+		);
+		setTabTableParentElement();
+		enableShortcuts('edition');
+		
+		try {
+		  onloadFunctions();
+		} catch (e) {}
+
+		setWindowElementFocus('firstElement');
+	}
+
+	function onResizeDo(){
+	}
+	</SCRIPT>
 </HEAD>
-<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onloadFunctions();setFocusFirstControl();">
+<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
 <H1>Excel InOut report</H1>
 <FORM method="POST" action="InformeInOut.xls" name="frmMain">
   <INPUT type="hidden" name="Command"></INPUT>
@@ -60,7 +84,7 @@
   <BR></BR>
   <TABLE width="48%" border="0" cellspacing="0" cellpadding="0">
     <TR> 
-      <TD  width="34%"> <SPAN >Product Category</SPAN></TD>
+      <TD width="34%"> <SPAN >Product Category</SPAN></TD>
       <TD width="66%"> <SELECT name="inpClaveCategoriaProducto" id="inpClaveCategoriaProducto">
           <OPTION value=""></OPTION><DIV id="reportProductCategory_M">
           <OPTION id="discard">xxAntartida Ultracongeldos</OPTION>