Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0029568 | Openbravo ERP | A. Platform | public | 2015-04-09 10:45 | 2015-04-14 16:51 | |||||||
Reporter | umartirena | |||||||||||
Assigned To | caristu | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR15Q1.3 | Fixed in Version | 3.0PR15Q1.3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0029568: onChange event does not work fine using Date parameters in Process Definition | |||||||||||
Description | If an Onchange javascript function is added to a Date Parameter in a Process Definition, the event is only raised the first time that the value is changed using the calendar element. And is executed when manually changing the focus to another place. It would be great to not to be necessary to change the focus manually. When the value is changed directly in the field using keyboard the event gets executed always, but does not work as expected after the first execution. | |||||||||||
Steps To Reproduce | As System Administrator: * Go to Process Definition window and select Add Transaction record. * In trxdate parameter add the following value in OnChange Function: OB.APRM.AddTransaction.trxDateOnChangeFunction * In ob-aprm-addTransaction.js and the following piece of code: OB.APRM.AddTransaction.trxDateOnChangeFunction = function (item, view, form, grid) { form.getItem('dateacct').setValue(new Date(item.getValue())); }; As F&B Group Admin: * Go to Financial Account window. Select "Bank - Account 1". * Go to Imported Bank Statements tab. Create a Header. * Create a Bank Statement Line. Amount Out 10. Process it. * Click on Match Statement. Cancel the displayed popup. * Select the previously created line and click on Add Transaction. * Change Transaction Date using the calendar element or manually. * Notice that the behavior described above happens. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-04-13 08:48 | alostale | Type | defect => backport | |||||||||
2015-04-13 08:48 | alostale | Target Version | => 3.0PR15Q1.3 | |||||||||
2015-04-14 13:42 | hgbot | Checkin | ||||||||||
2015-04-14 13:42 | hgbot | Note Added: 0076524 | ||||||||||
2015-04-14 13:42 | hgbot | Status | scheduled => resolved | |||||||||
2015-04-14 13:42 | hgbot | Resolution | open => fixed | |||||||||
2015-04-14 13:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/ebd8a590d21e62cbe8d544a7b5272f4cc2b9d228 [^] | |||||||||
2015-04-14 13:43 | caristu | Review Assigned To | => AugustoMauch | |||||||||
2015-04-14 13:43 | caristu | Issue Monitored: AugustoMauch | ||||||||||
2015-04-14 15:19 | alostale | Assigned To | platform => caristu | |||||||||
2015-04-14 16:51 | AugustoMauch | Note Added: 0076533 | ||||||||||
2015-04-14 16:51 | AugustoMauch | Status | resolved => closed | |||||||||
2015-04-14 16:51 | AugustoMauch | Fixed in Version | => 3.0PR15Q1.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|