Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046390 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | major | always | 2021-04-13 17:51 | 2021-05-24 13:02 | |||
Reporter | jmelin | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | high | Resolution | fixed | Fixed in Version | TAP | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | TAP | |||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | jorge-garcia | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0046390: JIRA 517 - No minus cost is applied to menu if the costs of components is less than the price of the menu | |||||||
Description | In the description of restaurant menu, it is expected to have a "minus cost" that can apply if the cost of each component is less than the price of the menu. It is not allowed to sell a menu to price higher than each component. For example: price of a menu with 2 components is 10€. Price of component A is 4 Price of component B is 5 As A+B=9<10 then a redemption of 1€ must be applied and the customer pay the menu only 9€ This was initially described in "Discount Menu matching " https://docs.google.com/document/d/19gQvAJO2mnRwwqSRtOiJURiZM8Nx3p6A0gwhSglfNIU/edit#heading=h.hl5d168l5fgm [^] | |||||||
Steps To Reproduce | Pre-requisites: In the backoffice, using user Openbravo and role "The white valley group admin". In window "Price List", for "Price List"="The White Valley Group Sale Price List" I change the price of menu "Simple menu" to 20 On the POS VBS-2 Scenario 1: Add a menu "Simple menu" => Price is 20 Select the 4 component "Onion Soup", "Cheeseburger", "Orange juice" and "Fruit" As Total of items is 11,5 => A line should added with a redemption "in favor of the customer" of 9,5 Scenario 2: Auto-discovery is enabled Select the 4 products "Onion Soup", "Cheeseburger", "Orange juice" and "Fruit" As product are component of "simple menu" => a menu is added with price of 20 As total of items is 11,5 => A line should added with a redemption "in favor of the customer" of 9,5 | |||||||
Proposed Solution | Add config in org to use a manual discount Manual discount should allow to hide it from UI Price indiv product < menu -> apply discount to match with sum of indiv products then discounts are applied With this fix we will not address the topic about best deal case, we will just control the scenario explained above | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0128556) jorge-garcia (viewer) 2021-05-24 13:01 |
MR created https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/merge_requests/5 [^] https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/27 [^] |
(0128557) jorge-garcia (viewer) 2021-05-24 13:02 |
MR merged https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2.restaurant/-/commit/bb9d4f89a9aae35dd31208f835e76ef6514e57d9 [^] https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/commit/66f4ce09480200a8c83d0df96bee101c8a4d6665 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-04-28 12:09 | guilleaer | Type | defect => backport |
2021-04-28 12:09 | guilleaer | Target Version | => TAP |
2021-05-12 13:18 | jorge-garcia | Relationship added | blocks 0046640 |
2021-05-24 13:01 | jorge-garcia | Note Added: 0128556 | |
2021-05-24 13:01 | jorge-garcia | Status | scheduled => resolved |
2021-05-24 13:01 | jorge-garcia | Resolution | open => fixed |
2021-05-24 13:02 | jorge-garcia | Review Assigned To | => jorge-garcia |
2021-05-24 13:02 | jorge-garcia | Note Added: 0128557 | |
2021-05-24 13:02 | jorge-garcia | Status | resolved => closed |
2021-05-24 13:02 | jorge-garcia | Fixed in Version | => TAP |
Copyright © 2000 - 2009 MantisBT Group |