Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0040924 | Retail Modules | Web POS | public | 2019-05-20 22:24 | 2019-05-20 22:24 |
| Reporter | gsuarez | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | Gold | ||||
| Support ticket | 10007 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0040924: Error in full refresh when loading disabled payment methods in promotions | ||||
| Description | The POS terminal throws an error when trying to load a promotion with disabled payment methods. | ||||
| Steps To Reproduce | - Create a discount promotion by payment method if none exists. - Add a payment method in the Payment Method tab and disable it. - Enter the POS terminal. - The error will be displayed. | ||||
| Proposed Solution | Edit the query in src/org/openbravo/retail/discounts/bypaymentmethod/PaymentMethodDiscount.java to avoid loading the disabled records. Line 43: hqlQueries.add("select" + paymentMethodDiscountProperties.getHqlSelect() + " from OBDISX_offer_paymentmethod pmd " + " where pmd.$naturalOrgCriteria and pmd.$readableSimpleClientCriteria " + " and pmd.$incrementalUpdateCriteria and " + " pmd.promotionDiscount.$incrementalUpdateCriteria"); | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=12966&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2019-05-20 22:24 | gsuarez | New Issue | |||
| 2019-05-20 22:24 | gsuarez | Assigned To | => Retail | ||
| 2019-05-20 22:24 | gsuarez | File Added: Screenshot from 2019-05-20 17-16-42.png | |||
| 2019-05-20 22:24 | gsuarez | OBNetwork customer | => Gold | ||
| 2019-05-20 22:24 | gsuarez | Support ticket | => 10007 | ||
| 2019-05-20 22:24 | gsuarez | Triggers an Emergency Pack | => No | ||
| There are no notes attached to this issue. |