Openbravo Issue Tracking System - POS2
View Issue Details
0047185POS2Restaurantspublic2021-06-18 13:412021-06-29 11:10
javietxe 
javierRodriguez 
normalmajorhave not tried
closedinvalid 
5
 
 
marvintm
No
0047185: JIRA 2114 Menu customer favor discount not applied automatically in returns
When we are doing a return, the menu customer favor discount is not automatically applied.

As an example we have a regular ticket where the menu customer favor discount is applied (see picture1)

But in the return we are not appying this discount, so we are returning more money than we have asked for in the regular ticket (see picture2)
Configure the backoffice properly:
- Configure the Menu customer favor discount in the organization window
- Set a price for a menu bigger than the sum of the price of its components

Log in the POS
- Select the menu with the big price
- Select its components
See that the menu customer favor discount is applied
- Press return ticket
The menu customer favor discount disappears and the amount to return is bigger.
No tags attached.
png Picture1.png (46,650) 2021-06-18 13:42
https://issues.openbravo.com/file_download.php?file_id=15948&type=bug
png

png Picture2.png (53,417) 2021-06-18 13:42
https://issues.openbravo.com/file_download.php?file_id=15949&type=bug
png
Issue History
2021-06-18 13:41javietxeNew Issue
2021-06-18 13:41javietxeAssigned To => Retail
2021-06-18 13:41javietxeResolution time => 1626386400
2021-06-18 13:41javietxeTriggers an Emergency Pack => No
2021-06-18 13:42javietxeFile Added: Picture1.png
2021-06-18 13:42javietxeFile Added: Picture2.png
2021-06-18 18:28dmiguelezStatusnew => acknowledged
2021-06-23 12:52dmiguelezResolution time1626386400 => 1625608800
2021-06-23 12:52dmiguelezSeverityminor => major
2021-06-23 12:52dmiguelezStatusacknowledged => scheduled
2021-06-23 12:53dmiguelezStatusscheduled => acknowledged
2021-06-24 11:16dmiguelezStatusacknowledged => scheduled
2021-06-24 11:16dmiguelezAssigned ToRetail => javierRodriguez
2021-06-29 11:10marvintmReview Assigned To => marvintm
2021-06-29 11:10marvintmNote Added: 0129933
2021-06-29 11:10marvintmStatusscheduled => closed
2021-06-29 11:10marvintmResolutionopen => invalid

Notes
(0129933)
marvintm   
2021-06-29 11:10   
The discounts engine doesn't apply discounts to blind returns. Functionally it works in this way, as you cannot guarantee that the current discount definition is valid for the old, returned items. This explains why the discount is not applied when you try to return a menu using a blind return.

There are two workarounds that can be used to handle this case:
- Use verified returns. In this case, we have the information of the discount that was originally applied, and therefore it will be applied correctly on the returned line.
- Manually change the price of the menu to fit whatever price it should have.