Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0040924 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Retail Modules] Web POS | minor | always | 2019-05-20 22:24 | 2019-05-20 22:24 | |||||||
| Reporter | gsuarez | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| 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"); | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
| Copyright © 2000 - 2009 MantisBT Group |