Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0028517 | Openbravo ERP | J. Demo data | public | 2015-01-02 15:06 | 2015-01-02 15:06 |
Reporter | plujan | ||||
Assigned To | eduardo_Argal | ||||
Priority | normal | Severity | minor | Reproducibility | random |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | main | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
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 | 0028517: Financial Account data for QA dataset has not a default Payment Method | ||||
Description | When creating a new Financial Account Transaction, the Add Payment selector opens with the default Payment Method. If there is not default defined, it picks a random payment method, what is a problem for the Selenium tests. See steps. | ||||
Steps To Reproduce | 1. Enter as Openbravo user, changing to QA Admin role 2. Go to Financial Account window 3. Select Spain Cashbook 4. Go to Transaction and create a new record. Click in the + button for the Payment field. 5. The opening pop up shows in Payment Method the default payment method or any random value from the list (check the function [1]) 6. Close the pop up and move to the Payment Method tab for this Financial Account 7. Check that no default is present. [1] https://code.openbravo.com/erp/devel/pi/file/c778327fb6eb/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/filterexpression/TransactionAddPaymentDefaultValues.java#l167 [^] | ||||
Proposed Solution | The problem is that Selenium tests are assuming "1 (Spain)" will be the selected value, but this only happens randomly. Since there is no default assigned, you may or may not have 1 (Spain) as a result. The solution is very simple, put 1 (Spain) as default in this tab. In addition to this, it is strongly recommended to add some alert about the missing default to the user, since the choice of 1 (Spain) or any other possible value is not clear for a user with no coding skills. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-02 15:06 | plujan | New Issue | |||
2015-01-02 15:06 | plujan | Assigned To | => eduardo_Argal | ||
2015-01-02 15:06 | plujan | Modules | => Core | ||
2015-01-02 15:06 | plujan | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |