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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046261
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-04-13 17:512021-05-24 09:58
ReporterjmelinView Statuspublic 
Assigned Tojorge-garcia 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046261: JIRA 517 - No minus cost is applied to menu if the costs of components is less than the price of the menu

DescriptionIn 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 ReproducePre-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 SolutionAdd 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
TagsTakeaway
Attached Filespng file icon ticket_sample_46261.PNG [^] (40,495 bytes) 2021-04-13 17:57

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0046390TAP closedjorge-garcia JIRA 517 - No minus cost is applied to menu if the costs of components is less than the price of the menu 
depends on defect 0046407 closedjavierRodriguez Manual promotions are not properly applied 
depends on feature request 0046476 closedjorge-garcia Order discount to be editable or read only 

-  Notes
(0127340)
guilleaer (manager)
2021-04-18 11:49

After internal discussion we will take this issue. Changing it to Defect.

It must be clear that with this fix we will just fix the problem reported in menus feature. WE WILL NOT FIX best deal case scenario.
(0127939)
hgbot (developer)
2021-05-10 13:07

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/32 [^]
(0127940)
hgbot (developer)
2021-05-10 13:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/444 [^]
(0128548)
hgbot (developer)
2021-05-24 09:54

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/444 [^]
(0128549)
hgbot (developer)
2021-05-24 09:54

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/32 [^]
(0128550)
jorge-garcia (reporter)
2021-05-24 09:58

MR merged into master

- Issue History
Date Modified Username Field Change
2021-04-13 17:51 jmelin New Issue
2021-04-13 17:51 jmelin Assigned To => Retail
2021-04-13 17:51 jmelin Triggers an Emergency Pack => No
2021-04-13 17:56 jmelin Steps to Reproduce Updated View Revisions
2021-04-13 17:57 jmelin File Added: ticket_sample_46261.PNG
2021-04-13 18:00 jmelin Summary No minus cost is applied to menu if the costs of components is less than the price of the menu => JIRA 517 - No minus cost is applied to menu if the costs of components is less than the price of the menu
2021-04-15 10:33 guilleaer Proposed Solution updated
2021-04-15 19:35 guilleaer Proposed Solution updated
2021-04-18 11:49 guilleaer Note Added: 0127340
2021-04-18 11:49 guilleaer Type design defect => defect
2021-04-22 23:05 guilleaer Tag Attached: Takeaway
2021-04-22 23:28 guilleaer Resolution time => 1619474400
2021-04-27 12:20 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-04-28 11:10 jorge-garcia Assigned To ranjith_qualiantech_com => jorge-garcia
2021-04-28 11:58 jorge-garcia Status new => scheduled
2021-04-28 12:08 guilleaer Status scheduled => resolved
2021-04-28 12:08 guilleaer Resolution open => fixed
2021-04-28 12:09 guilleaer Status resolved => closed
2021-04-28 12:09 guilleaer Status closed => new
2021-04-28 12:09 guilleaer Resolution fixed => open
2021-04-28 12:09 guilleaer Status new => scheduled
2021-04-29 08:59 jorge-garcia Relationship added depends on 0046407
2021-05-07 14:47 javietxe Issue Monitored: javietxe
2021-05-10 13:07 hgbot Note Added: 0127939
2021-05-10 13:12 hgbot Note Added: 0127940
2021-05-10 15:35 jorge-garcia Relationship added depends on 0046476
2021-05-12 15:07 jorge-garcia Review Assigned To => marvintm
2021-05-24 09:54 hgbot Note Added: 0128548
2021-05-24 09:54 hgbot Note Added: 0128549
2021-05-24 09:58 jorge-garcia Status scheduled => resolved
2021-05-24 09:58 jorge-garcia Resolution open => fixed
2021-05-24 09:58 jorge-garcia Note Added: 0128550
2021-05-24 09:58 jorge-garcia Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker