Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037017Retail ModulesDiscounts and Promotionspublic2017-10-06 08:412017-10-30 09:18
lmonreal 
jorge-garcia 
normalmajorsometimes
closedno change required 
5
 
 
jorge-garcia
No
0037017: Manual discounts with priorities are generating an error
When I do many discounts to several tickets and I select Decathlon card needed for one of them the next time I apply discount with others is generating the error in the picture attached. It is quite random and sometimes I reproduce it and others not.
According to initial analysis from Retail it is because these discounts have a priority defined in back end.
Unable to specify steps one by one as it is quite random but:

1. Do 5-10 tickets combinig different discounts (about four per line, variable per total amount %, variable per total amount, fixed per amount, fixed %, discretionary etc.)
2. Select one and set to true the Decathlon card needed in Discounts and Promotions screen in back end
3. Apply one discount and then the one selected in step 2.
4. Add loyalty card and error is displayed

As I mentioned before these discounts have priorities defined.
No tags attached.
related to defect 0037114 closed jorge-garcia By total discounts should ignore discount priority and be calculated at the end 
png poserror.PNG (329,225) 2017-10-06 08:41
https://issues.openbravo.com/file_download.php?file_id=11144&type=bug
Issue History
2017-10-06 08:41lmonrealNew Issue
2017-10-06 08:41lmonrealAssigned To => Retail
2017-10-06 08:41lmonrealFile Added: poserror.PNG
2017-10-06 08:41lmonrealTriggers an Emergency Pack => No
2017-10-06 14:41jorgewederagoIssue Monitored: jorgewederago
2017-10-09 12:57lmonrealResolution time => 1509318000
2017-10-23 15:44rqueraltaAssigned ToRetail => rqueralta
2017-10-23 15:44rqueraltaStatusnew => scheduled
2017-10-24 16:26jorge-garciaRelationship addedrelated to 0037114
2017-10-24 16:26jorge-garciaAssigned Torqueralta => jorge-garcia
2017-10-30 09:18jorge-garciaReview Assigned To => jorge-garcia
2017-10-30 09:18jorge-garciaNote Added: 0100133
2017-10-30 09:18jorge-garciaStatusscheduled => closed
2017-10-30 09:18jorge-garciaResolutionopen => no change required

Notes
(0100133)
jorge-garcia   
2017-10-30 09:18   
This issue is solved by the commits included in issue 37114[1]

[1] https://issues.openbravo.com/view.php?id=37114 [^]