Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040924
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2019-05-20 22:242019-05-20 22:24
ReportergsuarezView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040924: Error in full refresh when loading disabled payment methods in promotions

DescriptionThe 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 SolutionEdit 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");
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2019-05-20 17-16-42.png [^] (224,568 bytes) 2019-05-20 22:24

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker