Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002070Openbravo ERPB. User interfacepublic2007-10-10 18:422008-06-12 09:43
rafaroda 
rafaroda 
normalminoralways
closedduplicate 
5
 
pi 
Core
No
0002070: Problems showing calendar
*Environment
OS: Ubuntu 7.04
DB: Oracle XE 10g
OB: R2.34
Web browser: Firefox 2

*Steps
1. Procurement Management > Transactions > Pending Goods Receipts
2. Search pending goods receipts.
3. Press 'Calendar' icon.

Javascript problems appear.

Problems have been found in dynamically created date boxes. This occurs because text boxes reserved for Dates have all the same 'id'. It can be solved doing dynamic both id="paramFieldcBpartnerId" and 'paramFieldcBpartnerId' parameter of 'djConfig.searchIds.push("paramFieldcBpartnerId")' function (see Code).

// Code
<INPUT dojotype="openbravo:DateTextbox" displayformat="DD-MM-YYYY" saveformat="DD-MM-YYYY" class="TextBox_btn_OneCell_width" type="text" name="inpDateReceipt1000005" id="paramFieldcBpartnerId" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("paramFieldcBpartnerId");</SCRIPT>
//

This problems also appear following this steps.

*Steps
1. Financial Management > Receivables & Payables > Transactions > Manual Settlement
2. Press 'Copy from Settlement' button.
3. Search and select a settlement.
4. Press 'Calendar' icon.
No tags attached.
Issue History

Notes
(0005659)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1811017 [^]
(0002338)
rafaroda   
2007-11-05 14:10   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1892190
Originator: YES

This bug is duplicated in https://sourceforge.net/tracker/index.php?func=detail&aid=1816435&group_id=162271&atid=823129. [^]