Openbravo Issue Tracking System - POS2
View Issue Details
0047924POS2POSpublic2021-10-22 09:542021-10-27 15:44
jmelin 
prakashmurugesan88 
highmajoralways
closedfixed 
5
 
TAP 
No
0047924: JIRA 2435 - Discounts - Price of the menu with discount menu offert
When applying a discount to the order (not selected lines), the discount is correctly applied and the new total price is correct, but in the sales window :
- the price of product don't change
- the price of menu is price - discount part of the line
In Backend;
At organization level, check "Show order discount in a separate section"
Create a discount of type "Variable Discount per Total Amount".

On the POS:
Refresh
Create an order with a menu and some products
Ex:
Menu = 5.95
Product A = 1.35
Product B = 1.20
Total = 8.5

Select and apply the previous discount
For example, the discount is price of the menu = 5.95
New total = 2.55 => OK

But in the sales window, it displays:
Menu = 1.74
Product A = 1.35
Product B = 1.20
=> KO

Expected behavior
Menu = 5.95
Product A = 1.35
Product B = 1.20
Discount = 5.95 (order level)
Total = 2.55



No tags attached.
blocks defect 0047915 closed prakashmurugesan88 JIRA 2435 - Discounts - Price of the menu with discount menu offert 
Issue History
2021-10-22 13:40guilleaerTypedefect => backport
2021-10-22 13:40guilleaerTarget Version => TAP
2021-10-27 12:21prakashmurugesan88Note Added: 0132682
2021-10-27 14:40prakashmurugesan88Note Added: 0132688
2021-10-27 14:40prakashmurugesan88Statusscheduled => resolved
2021-10-27 14:40prakashmurugesan88Resolutionopen => fixed
2021-10-27 14:40prakashmurugesan88Statusresolved => closed
2021-10-27 15:44jorge-garciaAssigned ToRetail => prakashmurugesan88
2021-10-27 15:44jorge-garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23246#r23246

Notes
(0132682)
prakashmurugesan88   
2021-10-27 12:21   
Created following Merge Request,
https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/merge_requests/31 [^]
(0132688)
prakashmurugesan88   
2021-10-27 14:40   
Fixed in following commit,
https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/commit/c726c4e94b1b4075e63b5bd239e5f68ee6a5af1f [^]