Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040924Retail ModulesWeb POSpublic2019-05-20 22:242019-05-20 22:24
gsuarez 
Retail 
normalminoralways
newopen 
5
 
 
No
0040924: Error in full refresh when loading disabled payment methods in promotions
The POS terminal throws an error when trying to load a promotion with disabled payment methods.
- 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.
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");
No tags attached.
png Screenshot from 2019-05-20 17-16-42.png (224,568) 2019-05-20 22:24
https://issues.openbravo.com/file_download.php?file_id=12966&type=bug
png
Issue History
2019-05-20 22:24gsuarezNew Issue
2019-05-20 22:24gsuarezAssigned To => Retail
2019-05-20 22:24gsuarezFile Added: Screenshot from 2019-05-20 17-16-42.png
2019-05-20 22:24gsuarezTriggers an Emergency Pack => No

There are no notes attached to this issue.